#CDD25C#CDD25C

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

Color values

HEX#CDD25C
RGBrgb(205, 210, 92)
HSLhsl(63, 57%, 59%)
HSVhsv(63, 56%, 82%)
CMYKcmyk(2.4%, 0%, 56.2%, 17.6%)
CIE-LABlab(81.75, -17.31, 56.72)
CIE-LCHlch(81.75, 59.30, 106.97°)
OKLaboklab(83.67% -0.0513 0.1314)
OKLCHoklch(83.67% 0.141 111.3)
XYZxyz(50.1564, 59.8461, 19.0325)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD25C #615CD2
analogous
#D29C5C #CDD25C #92D25C
triadic
#CDD25C #5CCDD2 #D25CCD
tetradic
#CDD25C #5CD29C #615CD2 #D25C92
square
#CDD25C #5CD29C #615CD2 #D25C92
split-complementary
#CDD25C #5C92D2 #9C5CD2
monochromatic
#888D27 #B7BD34 #CDD25C #DCDF8C #EAECBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD25C#FFFFFF#000000##000000
##CDD25C1.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)
#E1C950
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd25c;
/* rgb */ color: rgb(205, 210, 92);
/* oklch */ color: oklch(83.7% 0.141 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8e',
    500: '#cdd25c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd25c;
$custom-light: #dfdf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd25c",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 92
  },
  "hsl": {
    "h": 62.542,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83672,
    "c": 0.14107,
    "h": 111.3
  },
  "luminance": 0.59845
}

Semantic roles & 50–950 ramp

primary
#CDD25C
secondary
#433F93
accent
#48E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD25C

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

Preview Lab → · Contrast checker → · Palette generator →

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