#CDCD79#CDCD79

#CDCD79 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.107 H 108.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CDCD79
RGBrgb(205, 205, 121)
HSLhsl(60, 46%, 64%)
HSVhsv(60, 41%, 80%)
CMYKcmyk(0%, 0%, 41%, 19.6%)
CIE-LABlab(80.75, -12.17, 41.74)
CIE-LCHlch(80.75, 43.48, 106.26°)
OKLaboklab(82.98% -0.0339 0.1011)
OKLCHoklch(82.98% 0.107 108.5)
XYZxyz(50.4601, 58.0233, 26.6269)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD79 #7979CD
analogous
#CDA379 #CDCD79 #A3CD79
triadic
#CDCD79 #79CDCD #CD79CD
tetradic
#CDCD79 #79CDA3 #7979CD #CD79A3
square
#CDCD79 #79CDA3 #7979CD #CD79A3
split-complementary
#CDCD79 #79A3CD #A379CD
monochromatic
#949437 #BCBC4C #CDCD79 #DEDEA6 #EEEED2

Accessibility & contrast

On white

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

On black

12.60
#CDCD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD79
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD79#FFFFFF#000000##000000
##CDCD791.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd79;
/* rgb */ color: rgb(205, 205, 121);
/* oklch */ color: oklch(83.0% 0.107 108.5);
Tailwind
colors: {
  custom: {
    50: '#dddca1',
    500: '#cdcd79',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd79;
$custom-light: #dddca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd79",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82981,
    "c": 0.10662,
    "h": 108.5
  },
  "luminance": 0.58022
}

Semantic roles & 50–950 ramp

primary
#CDCD79
secondary
#50509B
accent
#2DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCD79

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

Preview Lab → · Contrast checker → · Palette generator →

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