#CDD336#CDD336

#CDD336 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.169 H 111.8°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CDD336
RGBrgb(205, 211, 54)
HSLhsl(62, 64%, 52%)
HSVhsv(62, 74%, 83%)
CMYKcmyk(2.8%, 0%, 74.4%, 17.3%)
CIE-LABlab(81.75, -20.03, 71.46)
CIE-LCHlch(81.75, 74.21, 105.66°)
OKLaboklab(83.58% -0.0627 0.1569)
OKLCHoklch(83.58% 0.169 111.8)
XYZxyz(49.1386, 59.8353, 12.4502)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD336 #3C36D3
analogous
#D38B36 #CDD336 #7FD336
triadic
#CDD336 #36CDD3 #D336CD
tetradic
#CDD336 #36D38B #3C36D3 #D3367F
square
#CDD336 #36D38B #3C36D3 #D3367F
split-complementary
#CDD336 #367FD3 #8B36D3
monochromatic
#71751A #A2A725 #CDD336 #D9DE68 #E6E99A

Accessibility & contrast

On white

1.62
#CDD336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CDD336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD336
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD336#FFFFFF#000000##000000
##CDD3361.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C910
Deuteranopia (green-blind)
#E4CD43
Tritanopia (blue-blind)
#DBC6B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd336;
/* rgb */ color: rgb(205, 211, 54);
/* oklch */ color: oklch(83.6% 0.169 111.8);
Tailwind
colors: {
  custom: {
    50: '#e0e079',
    500: '#cdd336',
    950: '#000000',
  },
}
SCSS
$custom: #cdd336;
$custom-light: #e0e079;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd336",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 54
  },
  "hsl": {
    "h": 62.293,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.83579,
    "c": 0.16894,
    "h": 111.8
  },
  "luminance": 0.59834
}

Semantic roles & 50–950 ramp

primary
#CDD336
secondary
#33307D
accent
#41E747
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD336

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

Preview Lab → · Contrast checker → · Palette generator →

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