#CDCF79#CDCF79

#CDCF79 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.109 H 109.7°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CDCF79
RGBrgb(205, 207, 121)
HSLhsl(61, 47%, 64%)
HSVhsv(61, 42%, 81%)
CMYKcmyk(1%, 0%, 41.5%, 18.8%)
CIE-LABlab(81.28, -13.18, 42.41)
CIE-LCHlch(81.28, 44.41, 107.27°)
OKLaboklab(83.41% -0.0367 0.1026)
OKLCHoklch(83.41% 0.109 109.7)
XYZxyz(50.9416, 58.9862, 26.7874)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF79 #7B79CF
analogous
#CFA679 #CDCF79 #A2CF79
triadic
#CDCF79 #79CDCF #CF79CD
tetradic
#CDCF79 #79CFA6 #7B79CF #CF79A2
square
#CDCF79 #79CFA6 #7B79CF #CF79A2
split-complementary
#CDCF79 #79A2CF #A679CF
monochromatic
#959736 #BCBF4C #CDCF79 #DEDFA6 #EFEFD3

Accessibility & contrast

On white

1.64
#CDCF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CDCF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF79
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF79#FFFFFF#000000##000000
##CDCF791.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC872
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#D8C5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf79;
/* rgb */ color: rgb(205, 207, 121);
/* oklch */ color: oklch(83.4% 0.109 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddda1',
    500: '#cdcf79',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf79;
$custom-light: #dddda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf79",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 61.395,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83405,
    "c": 0.10898,
    "h": 109.7
  },
  "luminance": 0.58985
}

Semantic roles & 50–950 ramp

primary
#CDCF79
secondary
#514F9D
accent
#2BBB2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF79

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

Preview Lab → · Contrast checker → · Palette generator →

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