#CDCA39#CDCA39

#CDCA39 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.158 H 108.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CDCA39
RGBrgb(205, 202, 57)
HSLhsl(59, 60%, 51%)
HSVhsv(59, 72%, 80%)
CMYKcmyk(0%, 1.5%, 72.2%, 19.6%)
CIE-LABlab(79.34, -15.45, 68.20)
CIE-LCHlch(79.34, 69.93, 102.76°)
OKLaboklab(81.66% -0.0496 0.1505)
OKLCHoklch(81.66% 0.158 108.2)
XYZxyz(47.0377, 55.5171, 12.1082)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA39 #393CCD
analogous
#CD8039 #CDCA39 #86CD39
triadic
#CDCA39 #39CDCA #CA39CD
tetradic
#CDCA39 #39CD80 #393CCD #CD3986
square
#CDCA39 #39CD80 #393CCD #CD3986
split-complementary
#CDCA39 #3986CD #8039CD
monochromatic
#6F6E1C #A09E28 #CDCA39 #D9D76A #E6E49B

Accessibility & contrast

On white

1.74
#CDCA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CDCA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA39
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA39#FFFFFF#000000##000000
##CDCA391.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21D
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#DCBDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdca39;
/* rgb */ color: rgb(205, 202, 57);
/* oklch */ color: oklch(81.7% 0.158 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0d97a',
    500: '#cdca39',
    950: '#000000',
  },
}
SCSS
$custom: #cdca39;
$custom-light: #e0d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca39",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 58.784,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81658,
    "c": 0.15847,
    "h": 108.2
  },
  "luminance": 0.55516
}

Semantic roles & 50–950 ramp

primary
#CDCA39
secondary
#323379
accent
#48E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCA39

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

Preview Lab → · Contrast checker → · Palette generator →

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