#CFBC4E#CFBC4E

#CFBC4E is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.131 H 99.5°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CFBC4E
RGBrgb(207, 188, 78)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 9.2%, 62.3%, 18.8%)
CIE-LABlab(75.94, -6.31, 56.52)
CIE-LCHlch(75.94, 56.87, 96.37°)
OKLaboklab(79.04% -0.0217 0.1292)
OKLCHoklch(79.04% 0.131 99.5)
XYZxyz(45.0923, 49.7839, 14.4403)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC4E #4E61CF
analogous
#CF7B4E #CFBC4E #A1CF4E
triadic
#CFBC4E #4ECFBC #BC4ECF
tetradic
#CFBC4E #4ECF7B #4E61CF #CF4EA1
square
#CFBC4E #4ECF7B #4E61CF #CF4EA1
split-complementary
#CFBC4E #4EA1CF #7B4ECF
monochromatic
#807223 #B09D30 #CFBC4E #DCCE7E #E9E0AE

Accessibility & contrast

On white

1.92
#CFBC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CFBC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC4E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC4E#FFFFFF#000000##000000
##CFBC4E1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB741
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc4e;
/* rgb */ color: rgb(207, 188, 78);
/* oklch */ color: oklch(79.0% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#e1cf84',
    500: '#cfbc4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc4e;
$custom-light: #e1cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc4e",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 51.163,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79041,
    "c": 0.13096,
    "h": 99.5
  },
  "luminance": 0.49782
}

Semantic roles & 50–950 ramp

primary
#CFBC4E
secondary
#A2AAD7
accent
#5EE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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