#CFBC5B#CFBC5B

#CFBC5B is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.120 H 98.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CFBC5B
RGBrgb(207, 188, 91)
HSLhsl(50, 55%, 58%)
HSVhsv(50, 56%, 81%)
CMYKcmyk(0%, 9.2%, 56%, 18.8%)
CIE-LABlab(76.06, -5.38, 50.73)
CIE-LCHlch(76.06, 51.02, 96.06°)
OKLaboklab(79.18% -0.0175 0.1184)
OKLCHoklch(79.18% 0.12 98.4)
XYZxyz(45.6053, 49.9891, 17.1421)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC5B #5B6ECF
analogous
#CF825B #CFBC5B #A8CF5B
triadic
#CFBC5B #5BCFBC #BC5BCF
tetradic
#CFBC5B #5BCF82 #5B6ECF #CF5BA8
square
#CFBC5B #5BCF82 #5B6ECF #CF5BA8
split-complementary
#CFBC5B #5BA8CF #825BCF
monochromatic
#887828 #B7A236 #CFBC5B #DDCF8A #EBE3BA

Accessibility & contrast

On white

1.91
#CFBC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CFBC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC5B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC5B#FFFFFF#000000##000000
##CFBC5B1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB852
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#DDB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc5b;
/* rgb */ color: rgb(207, 188, 91);
/* oklch */ color: oklch(79.2% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#e0cf8c',
    500: '#cfbc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc5b;
$custom-light: #e0cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc5b",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 50.172,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79181,
    "c": 0.11971,
    "h": 98.4
  },
  "luminance": 0.49987
}

Semantic roles & 50–950 ramp

primary
#CFBC5B
secondary
#ACB3DA
accent
#62DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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