#CDD139#CDD139

#CDD139 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.165 H 111.0°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CDD139
RGBrgb(205, 209, 57)
HSLhsl(62, 62%, 52%)
HSVhsv(62, 73%, 82%)
CMYKcmyk(1.9%, 0%, 72.7%, 18%)
CIE-LABlab(81.22, -18.92, 69.99)
CIE-LCHlch(81.22, 72.50, 105.13°)
OKLaboklab(83.16% -0.0593 0.1543)
OKLCHoklch(83.16% 0.165 111)
XYZxyz(48.7175, 58.8768, 12.6682)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD139 #3D39D1
analogous
#D18939 #CDD139 #81D139
triadic
#CDD139 #39CDD1 #D139CD
tetradic
#CDD139 #39D189 #3D39D1 #D13981
square
#CDD139 #39D189 #3D39D1 #D13981
split-complementary
#CDD139 #3981D1 #8939D1
monochromatic
#72751B #A3A627 #CDD139 #DADD6B #E6E89C

Accessibility & contrast

On white

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

On black

12.78
#CDD139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD139
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD139#FFFFFF#000000##000000
##CDD1391.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C819
Deuteranopia (green-blind)
#E2CC45
Tritanopia (blue-blind)
#DBC4B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd139;
/* rgb */ color: rgb(205, 209, 57);
/* oklch */ color: oklch(83.2% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0de7a',
    500: '#cdd139',
    950: '#000000',
  },
}
SCSS
$custom: #cdd139;
$custom-light: #e0de7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd139",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 61.579,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.83164,
    "c": 0.1653,
    "h": 111
  },
  "luminance": 0.58875
}

Semantic roles & 50–950 ramp

primary
#CDD139
secondary
#33317D
accent
#42E547
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD139

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

Preview Lab → · Contrast checker → · Palette generator →

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