#CDD25B#CDD25B

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

Color values

HEX#CDD25B
RGBrgb(205, 210, 91)
HSLhsl(63, 57%, 59%)
HSVhsv(63, 57%, 82%)
CMYKcmyk(2.4%, 0%, 56.7%, 17.6%)
CIE-LABlab(81.75, -17.38, 57.15)
CIE-LCHlch(81.75, 59.74, 106.92°)
OKLaboklab(83.66% -0.0516 0.1322)
OKLCHoklch(83.66% 0.142 111.3)
XYZxyz(50.1130, 59.8288, 18.8038)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD25B #605BD2
analogous
#D29C5B #CDD25B #92D25B
triadic
#CDD25B #5BCDD2 #D25BCD
tetradic
#CDD25B #5BD29C #605BD2 #D25B92
square
#CDD25B #5BD29C #605BD2 #D25B92
split-complementary
#CDD25B #5B92D2 #9C5BD2
monochromatic
#888C26 #B6BC34 #CDD25B #DCDF8B #EAECBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD25B#FFFFFF#000000##000000
##CDD25B1.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)
#E1C94E
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd25b;
/* rgb */ color: rgb(205, 210, 91);
/* oklch */ color: oklch(83.7% 0.142 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8d',
    500: '#cdd25b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd25b;
$custom-light: #dfdf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd25b",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 62.521,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83661,
    "c": 0.14194,
    "h": 111.3
  },
  "luminance": 0.59828
}

Semantic roles & 50–950 ramp

primary
#CDD25B
secondary
#423F92
accent
#48E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD25B

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

Preview Lab → · Contrast checker → · Palette generator →

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