#CFCF79#CFCF79

#CFCF79 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.109 H 108.5°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CFCF79
RGBrgb(207, 207, 121)
HSLhsl(60, 47%, 64%)
HSVhsv(60, 42%, 81%)
CMYKcmyk(0%, 0%, 41.5%, 18.8%)
CIE-LABlab(81.44, -12.39, 42.64)
CIE-LCHlch(81.44, 44.40, 106.20°)
OKLaboklab(83.57% -0.0346 0.1031)
OKLCHoklch(83.57% 0.109 108.5)
XYZxyz(51.4970, 59.2726, 26.8134)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF79 #7979CF
analogous
#CFA479 #CFCF79 #A4CF79
triadic
#CFCF79 #79CFCF #CF79CF
tetradic
#CFCF79 #79CFA4 #7979CF #CF79A4
square
#CFCF79 #79CFA4 #7979CF #CF79A4
split-complementary
#CFCF79 #79A4CF #A479CF
monochromatic
#979736 #BFBF4C #CFCF79 #DFDFA6 #EFEFD3

Accessibility & contrast

On white

1.63
#CFCF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CFCF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF79
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF79#FFFFFF#000000##000000
##CFCF791.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC972
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#DAC5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf79;
/* rgb */ color: rgb(207, 207, 121);
/* oklch */ color: oklch(83.6% 0.109 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdda1',
    500: '#cfcf79',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf79;
$custom-light: #dfdda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf79",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83568,
    "c": 0.10874,
    "h": 108.5
  },
  "luminance": 0.59272
}

Semantic roles & 50–950 ramp

primary
#CFCF79
secondary
#4F4F9D
accent
#2BBB2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF79

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

Preview Lab → · Contrast checker → · Palette generator →

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