#CFCC79#CFCC79

#CFCC79 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.105 H 106.7°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CFCC79
RGBrgb(207, 204, 121)
HSLhsl(58, 47%, 64%)
HSVhsv(58, 42%, 81%)
CMYKcmyk(0%, 1.4%, 41.5%, 18.8%)
CIE-LABlab(80.65, -10.87, 41.65)
CIE-LCHlch(80.65, 43.04, 104.63°)
OKLaboklab(82.94% -0.0302 0.1009)
OKLCHoklch(82.94% 0.105 106.7)
XYZxyz(50.7771, 57.8328, 26.5735)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC79 #797CCF
analogous
#CFA179 #CFCC79 #A7CF79
triadic
#CFCC79 #79CFCC #CC79CF
tetradic
#CFCC79 #79CFA1 #797CCF #CF79A7
square
#CFCC79 #79CFA1 #797CCF #CF79A7
split-complementary
#CFCC79 #79A7CF #A179CF
monochromatic
#979436 #BFBB4C #CFCC79 #DFDDA6 #EFEED3

Accessibility & contrast

On white

1.67
#CFCC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CFCC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC79
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC79#FFFFFF#000000##000000
##CFCC791.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#DBCA7D
Tritanopia (blue-blind)
#DAC2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc79;
/* rgb */ color: rgb(207, 204, 121);
/* oklch */ color: oklch(82.9% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfdba1',
    500: '#cfcc79',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc79;
$custom-light: #dfdba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc79",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 57.907,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82936,
    "c": 0.10529,
    "h": 106.7
  },
  "luminance": 0.57832
}

Semantic roles & 50–950 ramp

primary
#CFCC79
secondary
#4F529D
accent
#30BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCC79

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

Preview Lab → · Contrast checker → · Palette generator →

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