Skip to content

#cbcf2c

a balanced, vivid yellow · warm · closest name: Yellow Green

RGB
203, 207, 44
HSL
62°, 65%, 49%
CMYK
2, 0, 79, 19
Luminance
0.5750

At a glance

Every number on this page in one read: what #cbcf2c is made of, how bright it looks, and which way it leans.

Hex
#cbcf2c
Hue
62°
yellow
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5750
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.50:1
Closest name
Yellow Green
ΔE2000 10
Where it sits
Hue62° of 360°
Saturation65%
Lightness49%
Temperature
Warm ← → Cool26% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cbcf2c
RGBrgb(203, 207, 44)
HSLhsl(62, 65%, 49%)
CMYKcmyk(2%, 0%, 79%, 19%)
LABlab(80.5 -19.3 73.2)
LCHlch(80.5 75.7 104.8)
OKLCHoklch(0.825 0.170 111.1)
Decimal13356844
Display P3color(display-p3 0.796 0.812 0.173)

Copy-ready code

/* CSS */
color: #cbcf2c;
background-color: #cbcf2c;
/* Tailwind (arbitrary) */
class="text-[#cbcf2c] bg-[#cbcf2c]"
/* SCSS */
$brand: #cbcf2c;
/* SwiftUI */
Color(red: 0.796, green: 0.812, blue: 0.173)
/* Android */
Color.parseColor("#cbcf2c")
/* Flutter */
Color(0xFFCBCF2C)
/* Python / OpenCV (BGR) */
(44, 207, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cbcf2c · 12.50:1
Use #000000AAA at every size.
Aa
White text · 1.68:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.50:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cbcf2c as text scores 1.68:1 on white and 12.50:1 on black.

Accessibility — WCAG contrast

Aa
#cbcf2c on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cbcf2c on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0C500
deuteranopia · #E1CA3B
tritanopia · #D9C2B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cbcf2c is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFBF3
#F7F7E8
#F0F1CB
#E9EBA2
#DFE174
#D4D846
#cbcf2c
#A5A824
#84871D
#606219
#3C3D0F
Base = 600Lightest = 50 · #FBFBF3Darkest = 950 · #3C3D0F
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F7F7E8;
  --brand-200: #F0F1CB;
  --brand-300: #E9EBA2;
  --brand-400: #DFE174;
  --brand-500: #D4D846;
  --brand-600: #cbcf2c;
  --brand-700: #A5A824;
  --brand-800: #84871D;
  --brand-900: #606219;
  --brand-950: #3C3D0F;
  --brand: #cbcf2c;
  --brand-ink: #000000;
}

Colors that work with #cbcf2c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#274ED4
Second voice, not a rival
Dark variant#676916
Hover, pressed, headers
Light variant#FAFBEA
Selected rows, tints
Dark surface#242414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cbcf2c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#302CCF
Analogous left#CF822C
Analogous right#79CF2C
Split-complement 1#2C79CF
Split-complement 2#822CCF
Triadic 1#2CCBCF
Triadic 2#CF2CCB
Tetradic#2CCF82

RGB percentages

Red79.6%
Green81.2%
Blue17.3%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow78.7%
Key (black)18.8%

Color previews

#cbcf2c text on a black background

contrast 12.50:1

Card sample

#cbcf2c text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cbcf2c;
Background color
Panel with #cbcf2c background
background-color: #cbcf2c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cbcf2c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 207, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 207, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbcf2c;
background: linear-gradient(135deg, #cbcf2c, #5ECF2C);

Monochromatic scale

Palettes built from #cbcf2c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cbcf2c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#cbcf2c, answered

What color is #cbcf2c?

#cbcf2c is a balanced vivid yellow, closest to Yellow Green (ΔE2000 10). It sits at 62° on the hue wheel with 65% saturation and 49% lightness, which reads as warm.

What is the RGB value of #cbcf2c?

rgb(203, 207, 44) — 203 red, 207 green and 44 blue out of 255, or 79.6% / 81.2% / 17.3% by channel.

Is #cbcf2c a light or a dark color?

It is a light color. Relative luminance is 0.5750 and perceived brightness is 76%, so black text on it reaches 12.50:1.

Should I use black or white text on #cbcf2c?

Black. It scores 12.50:1 against #cbcf2c, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #cbcf2c?

#302CCF sits directly opposite on the wheel. Softer options are the split-complements #2C79CF and #822CCF, which give the same contrast with far less vibration.

What colors go well with #cbcf2c?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #274ED4 as an accent and #676916 for hover and pressed states. For a palette, the analogous pair #CF822C and #79CF2C stays calm, while #302CCF is the loudest partner.

What is #cbcf2c in CMYK for printing?

cmyk(2%, 0%, 79%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cbcf2c warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF992C; nudged cooler, #90D12A.

Work with #cbcf2c in the Color Lab