#CDD74C#CDD74C

#CDD74C is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.159 H 113.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#CDD74C
RGBrgb(205, 215, 76)
HSLhsl(64, 63%, 57%)
HSVhsv(64, 65%, 84%)
CMYKcmyk(4.7%, 0%, 64.7%, 15.7%)
CIE-LABlab(82.97, -20.86, 64.77)
CIE-LCHlch(82.97, 68.05, 107.85°)
OKLaboklab(84.6% -0.063 0.1464)
OKLCHoklch(84.6% 0.159 113.3)
XYZxyz(50.7832, 62.1028, 16.1480)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD74C #564CD7
analogous
#D79C4C #CDD74C #87D74C
triadic
#CDD74C #4CCDD7 #D74CCD
tetradic
#CDD74C #4CD79C #564CD7 #D74C87
square
#CDD74C #4CD79C #564CD7 #D74C87
split-complementary
#CDD74C #4C87D7 #9C4CD7
monochromatic
#828A1F #B1BC2A #CDD74C #DBE27E #E9EDB0

Accessibility & contrast

On white

1.56
#CDD74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CDD74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD74C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD74C#FFFFFF#000000##000000
##CDD74C1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD39
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd74c;
/* rgb */ color: rgb(205, 215, 76);
/* oklch */ color: oklch(84.6% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe385',
    500: '#cdd74c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd74c;
$custom-light: #dfe385;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd74c",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 64.317,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84599,
    "c": 0.15934,
    "h": 113.3
  },
  "luminance": 0.62102
}

Semantic roles & 50–950 ramp

primary
#CDD74C
secondary
#3E3790
accent
#41E64D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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