#CDCD74#CDCD74

#CDCD74 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.112 H 108.6°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CDCD74
RGBrgb(205, 205, 116)
HSLhsl(60, 47%, 63%)
HSVhsv(60, 43%, 80%)
CMYKcmyk(0%, 0%, 43.4%, 19.6%)
CIE-LABlab(80.69, -12.69, 44.14)
CIE-LCHlch(80.69, 45.93, 106.03°)
OKLaboklab(82.91% -0.0358 0.1062)
OKLCHoklch(82.91% 0.112 108.6)
XYZxyz(50.1614, 57.9038, 25.0538)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD74 #7474CD
analogous
#CDA074 #CDCD74 #A0CD74
triadic
#CDCD74 #74CDCD #CD74CD
tetradic
#CDCD74 #74CDA0 #7474CD #CD74A0
square
#CDCD74 #74CDA0 #7474CD #CD74A0
split-complementary
#CDCD74 #74A0CD #A074CD
monochromatic
#929235 #BDBD47 #CDCD74 #DDDDA1 #EDEDCE

Accessibility & contrast

On white

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

On black

12.58
#CDCD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD74
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD74#FFFFFF#000000##000000
##CDCD741.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66D
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd74;
/* rgb */ color: rgb(205, 205, 116);
/* oklch */ color: oklch(82.9% 0.112 108.6);
Tailwind
colors: {
  custom: {
    50: '#dedc9d',
    500: '#cdcd74',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd74;
$custom-light: #dedc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd74",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82907,
    "c": 0.11203,
    "h": 108.6
  },
  "luminance": 0.57903
}

Semantic roles & 50–950 ramp

primary
#CDCD74
secondary
#4D4D98
accent
#2BBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD74

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

Preview Lab → · Contrast checker → · Palette generator →

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