#CDD23B#CDD23B

#CDD23B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.165 H 111.4°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CDD23B
RGBrgb(205, 210, 59)
HSLhsl(62, 63%, 53%)
HSVhsv(62, 72%, 82%)
CMYKcmyk(2.4%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.51, -19.32, 69.58)
CIE-LCHlch(81.51, 72.22, 105.52°)
OKLaboklab(83.39% -0.0603 0.1538)
OKLCHoklch(83.39% 0.165 111.4)
XYZxyz(49.0145, 59.3894, 13.0182)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD23B #403BD2
analogous
#D28C3B #CDD23B #81D23B
triadic
#CDD23B #3BCDD2 #D23BCD
tetradic
#CDD23B #3BD28C #403BD2 #D23B81
square
#CDD23B #3BD28C #403BD2 #D23B81
split-complementary
#CDD23B #3B81D2 #8C3BD2
monochromatic
#74771B #A5A927 #CDD23B #DADD6D #E6E99F

Accessibility & contrast

On white

1.63
#CDD23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CDD23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD23B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD23B#FFFFFF#000000##000000
##CDD23B1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C91D
Deuteranopia (green-blind)
#E3CC47
Tritanopia (blue-blind)
#DBC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd23b;
/* rgb */ color: rgb(205, 210, 59);
/* oklch */ color: oklch(83.4% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#e0df7b',
    500: '#cdd23b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd23b;
$custom-light: #e0df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd23b",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 61.987,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.16517,
    "h": 111.4
  },
  "luminance": 0.59388
}

Semantic roles & 50–950 ramp

primary
#CDD23B
secondary
#34327F
accent
#42E648
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD23B

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

Preview Lab → · Contrast checker → · Palette generator →

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