#CDCB39#CDCB39

#CDCB39 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.159 H 108.7°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CDCB39
RGBrgb(205, 203, 57)
HSLhsl(59, 60%, 51%)
HSVhsv(59, 72%, 80%)
CMYKcmyk(0%, 1%, 72.2%, 19.6%)
CIE-LABlab(79.61, -15.95, 68.46)
CIE-LCHlch(79.61, 70.29, 103.11°)
OKLaboklab(81.87% -0.051 0.1511)
OKLCHoklch(81.87% 0.159 108.7)
XYZxyz(47.2731, 55.9879, 12.1867)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB39 #393BCD
analogous
#CD8139 #CDCB39 #85CD39
triadic
#CDCB39 #39CDCB #CB39CD
tetradic
#CDCB39 #39CD81 #393BCD #CD3985
square
#CDCB39 #39CD81 #393BCD #CD3985
split-complementary
#CDCB39 #3985CD #8139CD
monochromatic
#6F6E1C #A09F28 #CDCB39 #D9D86A #E6E59B

Accessibility & contrast

On white

1.72
#CDCB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CDCB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB39
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB39#FFFFFF#000000##000000
##CDCB391.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31C
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#DCBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb39;
/* rgb */ color: rgb(205, 203, 57);
/* oklch */ color: oklch(81.9% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0da7a',
    500: '#cdcb39',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb39;
$custom-light: #e0da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb39",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 59.189,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81872,
    "c": 0.15943,
    "h": 108.7
  },
  "luminance": 0.55986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCB39

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

Preview Lab → · Contrast checker → · Palette generator →

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