#CFBB40#CFBB40

#CFBB40 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.141 H 99.9°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CFBB40
RGBrgb(207, 187, 64)
HSLhsl(52, 60%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 9.7%, 69.1%, 18.8%)
CIE-LABlab(75.56, -6.62, 61.97)
CIE-LCHlch(75.56, 62.32, 96.10°)
OKLaboklab(78.71% -0.0241 0.1385)
OKLCHoklch(78.71% 0.141 99.9)
XYZxyz(44.4299, 49.1783, 12.0016)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB40 #4054CF
analogous
#CF7340 #CFBB40 #9CCF40
triadic
#CFBB40 #40CFBB #BB40CF
tetradic
#CFBB40 #40CF73 #4054CF #CF409C
square
#CFBB40 #40CF73 #4054CF #CF409C
split-complementary
#CFBB40 #409CCF #7340CF
monochromatic
#776A1E #A8962A #CFBB40 #DBCC71 #E8DEA2

Accessibility & contrast

On white

1.94
#CFBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CFBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB40
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB40#FFFFFF#000000##000000
##CFBB401.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#DFAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb40;
/* rgb */ color: rgb(207, 187, 64);
/* oklch */ color: oklch(78.7% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e1cf7c',
    500: '#cfbb40',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb40;
$custom-light: #e1cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb40",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 51.608,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78708,
    "c": 0.14058,
    "h": 99.9
  },
  "luminance": 0.49176
}

Semantic roles & 50–950 ramp

primary
#CFBB40
secondary
#979FD4
accent
#5BE345
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBB40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFBB40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva