#CFBB4A#CFBB4A

#CFBB4A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.133 H 99.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CFBB4A
RGBrgb(207, 187, 74)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 64%, 81%)
CMYKcmyk(0%, 9.7%, 64.3%, 18.8%)
CIE-LABlab(75.64, -6.05, 57.93)
CIE-LCHlch(75.64, 58.25, 95.96°)
OKLaboklab(78.79% -0.0214 0.1316)
OKLCHoklch(78.79% 0.133 99.2)
XYZxyz(44.7404, 49.3025, 13.6369)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB4A #4A5ECF
analogous
#CF784A #CFBB4A #A1CF4A
triadic
#CFBB4A #4ACFBB #BB4ACF
tetradic
#CFBB4A #4ACF78 #4A5ECF #CF4AA1
square
#CFBB4A #4ACF78 #4A5ECF #CF4AA1
split-complementary
#CFBB4A #4AA1CF #784ACF
monochromatic
#7D7021 #AE9B2E #CFBB4A #DCCD7A #E9DFAB

Accessibility & contrast

On white

1.93
#CFBB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CFBB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB4A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB4A#FFFFFF#000000##000000
##CFBB4A1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#DEAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb4a;
/* rgb */ color: rgb(207, 187, 74);
/* oklch */ color: oklch(78.8% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#e1cf82',
    500: '#cfbb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb4a;
$custom-light: #e1cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb4a",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 50.977,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78794,
    "c": 0.1333,
    "h": 99.2
  },
  "luminance": 0.493
}

Semantic roles & 50–950 ramp

primary
#CFBB4A
secondary
#9FA7D6
accent
#5EE146
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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