#CDD23F#CDD23F

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

Color values

HEX#CDD23F
RGBrgb(205, 210, 63)
HSLhsl(62, 62%, 54%)
HSVhsv(62, 70%, 82%)
CMYKcmyk(2.4%, 0%, 70%, 17.6%)
CIE-LABlab(81.53, -19.13, 68.21)
CIE-LCHlch(81.53, 70.85, 105.67°)
OKLaboklab(83.42% -0.0594 0.1516)
OKLCHoklch(83.42% 0.163 111.4)
XYZxyz(49.1222, 59.4324, 13.5856)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD23F #443FD2
analogous
#D28D3F #CDD23F #83D23F
triadic
#CDD23F #3FCDD2 #D23FCD
tetradic
#CDD23F #3FD28D #443FD2 #D23F83
square
#CDD23F #3FD28D #443FD2 #D23F83
split-complementary
#CDD23F #3F83D2 #8D3FD2
monochromatic
#777A1D #A7AC28 #CDD23F #DADE71 #E7E9A2

Accessibility & contrast

On white

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

On black

12.89
#CDD23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD23F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD23F#FFFFFF#000000##000000
##CDD23F1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C925
Deuteranopia (green-blind)
#E3CC4A
Tritanopia (blue-blind)
#DBC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd23f;
/* rgb */ color: rgb(205, 210, 63);
/* oklch */ color: oklch(83.4% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#e0df7d',
    500: '#cdd23f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd23f;
$custom-light: #e0df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd23f",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 62.041,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.16278,
    "h": 111.4
  },
  "luminance": 0.59431
}

Semantic roles & 50–950 ramp

primary
#CDD23F
secondary
#363382
accent
#43E548
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD23F

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

Preview Lab → · Contrast checker → · Palette generator →

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