#CFC579#CFC579

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

Color values

HEX#CFC579
RGBrgb(207, 197, 121)
HSLhsl(53, 47%, 64%)
HSVhsv(53, 42%, 81%)
CMYKcmyk(0%, 4.8%, 41.5%, 18.8%)
CIE-LABlab(78.80, -7.29, 39.32)
CIE-LCHlch(78.80, 39.99, 100.50°)
OKLaboklab(81.47% -0.0199 0.0956)
OKLCHoklch(81.47% 0.098 101.8)
XYZxyz(49.1506, 54.5798, 26.0313)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC579 #7983CF
analogous
#CF9A79 #CFC579 #AECF79
triadic
#CFC579 #79CFC5 #C579CF
tetradic
#CFC579 #79CF9A #7983CF #CF79AE
square
#CFC579 #79CF9A #7983CF #CF79AE
split-complementary
#CFC579 #79AECF #9A79CF
monochromatic
#978C36 #BFB14C #CFC579 #DFD9A6 #EFECD3

Accessibility & contrast

On white

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

On black

11.92
#CFC579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC579
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC579#FFFFFF#000000##000000
##CFC5791.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C073
Deuteranopia (green-blind)
#D5C57C
Tritanopia (blue-blind)
#DBBBB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc579;
/* rgb */ color: rgb(207, 197, 121);
/* oklch */ color: oklch(81.5% 0.098 101.8);
Tailwind
colors: {
  custom: {
    50: '#dfd6a1',
    500: '#cfc579',
    950: '#000000',
  },
}
SCSS
$custom: #cfc579;
$custom-light: #dfd6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc579",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 121
  },
  "hsl": {
    "h": 53.023,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8147,
    "c": 0.09764,
    "h": 101.8
  },
  "luminance": 0.54578
}

Semantic roles & 50–950 ramp

primary
#CFC579
secondary
#4F589D
accent
#3CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC579

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

Preview Lab → · Contrast checker → · Palette generator →

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