#CFC87B#CFC87B

#CFC87B is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.099 H 103.8°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CFC87B
RGBrgb(207, 200, 123)
HSLhsl(55, 47%, 65%)
HSVhsv(55, 41%, 81%)
CMYKcmyk(0%, 3.4%, 40.6%, 18.8%)
CIE-LABlab(79.62, -8.62, 39.34)
CIE-LCHlch(79.62, 40.27, 102.35°)
OKLaboklab(82.13% -0.0236 0.0958)
OKLCHoklch(82.13% 0.099 103.8)
XYZxyz(49.9625, 56.0053, 26.9133)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC87B #7B82CF
analogous
#CF9E7B #CFC87B #ACCF7B
triadic
#CFC87B #7BCFC8 #C87BCF
tetradic
#CFC87B #7BCF9E #7B82CF #CF7BAC
square
#CFC87B #7BCF9E #7B82CF #CF7BAC
split-complementary
#CFC87B #7BACCF #9E7BCF
monochromatic
#989037 #BFB54E #CFC87B #DFDBA8 #F0EDD5

Accessibility & contrast

On white

1.72
#CFC87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CFC87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC87B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC87B#FFFFFF#000000##000000
##CFC87B1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C375
Deuteranopia (green-blind)
#D7C77E
Tritanopia (blue-blind)
#DABEB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc87b;
/* rgb */ color: rgb(207, 200, 123);
/* oklch */ color: oklch(82.1% 0.099 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd8a2',
    500: '#cfc87b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc87b;
$custom-light: #dfd8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc87b",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 123
  },
  "hsl": {
    "h": 55,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82128,
    "c": 0.09862,
    "h": 103.8
  },
  "luminance": 0.56004
}

Semantic roles & 50–950 ramp

primary
#CFC87B
secondary
#50579E
accent
#37BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC87B

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

Preview Lab → · Contrast checker → · Palette generator →

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