#CFC489#CFC489

#CFC489 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.078 H 98.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CFC489
RGBrgb(207, 196, 137)
HSLhsl(51, 42%, 67%)
HSVhsv(51, 34%, 81%)
CMYKcmyk(0%, 5.3%, 33.8%, 18.8%)
CIE-LABlab(78.78, -4.95, 31.06)
CIE-LCHlch(78.78, 31.45, 99.06°)
OKLaboklab(81.54% -0.0121 0.0772)
OKLCHoklch(81.54% 0.078 98.9)
XYZxyz(49.9880, 54.5527, 31.5585)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC489 #8994CF
analogous
#CFA189 #CFC489 #B7CF89
triadic
#CFC489 #89CFC4 #C489CF
tetradic
#CFC489 #89CFA1 #8994CF #CF89B7
square
#CFC489 #89CFA1 #8994CF #CF89B7
split-complementary
#CFC489 #89B7CF #A189CF
monochromatic
#9E8F40 #BDAE5D #CFC489 #E1DAB5 #F2F0E0

Accessibility & contrast

On white

1.76
#CFC489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CFC489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC489
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC489#FFFFFF#000000##000000
##CFC4891.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC185
Deuteranopia (green-blind)
#D2C58B
Tritanopia (blue-blind)
#D9BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc489;
/* rgb */ color: rgb(207, 196, 137);
/* oklch */ color: oklch(81.5% 0.078 98.9);
Tailwind
colors: {
  custom: {
    50: '#ded5ac',
    500: '#cfc489',
    950: '#000000',
  },
}
SCSS
$custom: #cfc489;
$custom-light: #ded5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc489",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 137
  },
  "hsl": {
    "h": 50.571,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.81538,
    "c": 0.07815,
    "h": 98.9
  },
  "luminance": 0.54551
}

Semantic roles & 50–950 ramp

primary
#CFC489
secondary
#5965A3
accent
#45B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC489

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

Preview Lab → · Contrast checker → · Palette generator →

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