#CDD23C#CDD23C

#CDD23C 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#CDD23C
RGBrgb(205, 210, 60)
HSLhsl(62, 63%, 53%)
HSVhsv(62, 71%, 82%)
CMYKcmyk(2.4%, 0%, 71.4%, 17.6%)
CIE-LABlab(81.51, -19.28, 69.25)
CIE-LCHlch(81.51, 71.88, 105.56°)
OKLaboklab(83.4% -0.06 0.1532)
OKLCHoklch(83.4% 0.165 111.4)
XYZxyz(49.0407, 59.3998, 13.1561)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD23C #413CD2
analogous
#D28C3C #CDD23C #82D23C
triadic
#CDD23C #3CCDD2 #D23CCD
tetradic
#CDD23C #3CD28C #413CD2 #D23C82
square
#CDD23C #3CD28C #413CD2 #D23C82
split-complementary
#CDD23C #3C82D2 #8C3CD2
monochromatic
#75781C #A5AA27 #CDD23C #DADD6E #E6E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD23C#FFFFFF#000000##000000
##CDD23C1.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)
#E2C920
Deuteranopia (green-blind)
#E3CC48
Tritanopia (blue-blind)
#DBC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd23c;
/* rgb */ color: rgb(205, 210, 60);
/* oklch */ color: oklch(83.4% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#e0df7c',
    500: '#cdd23c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd23c;
$custom-light: #e0df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd23c",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 62,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.83399,
    "c": 0.16459,
    "h": 111.4
  },
  "luminance": 0.59399
}

Semantic roles & 50–950 ramp

primary
#CDD23C
secondary
#353280
accent
#42E648
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD23C

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

Preview Lab → · Contrast checker → · Palette generator →

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