#CDD25F#CDD25F

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

Color values

HEX#CDD25F
RGBrgb(205, 210, 95)
HSLhsl(63, 56%, 60%)
HSVhsv(63, 55%, 82%)
CMYKcmyk(2.4%, 0%, 54.8%, 17.6%)
CIE-LABlab(81.78, -17.07, 55.40)
CIE-LCHlch(81.78, 57.98, 107.13°)
OKLaboklab(83.71% -0.0503 0.129)
OKLCHoklch(83.71% 0.138 111.3)
XYZxyz(50.2902, 59.8996, 19.7368)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD25F #645FD2
analogous
#D29E5F #CDD25F #93D25F
triadic
#CDD25F #5FCDD2 #D25FCD
tetradic
#CDD25F #5FD29E #645FD2 #D25F93
square
#CDD25F #5FD29E #645FD2 #D25F93
split-complementary
#CDD25F #5F93D2 #9E5FD2
monochromatic
#8A8F28 #B8BE36 #CDD25F #DCDF8F #EBEDBF

Accessibility & contrast

On white

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

On black

12.98
#CDD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD25F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD25F#FFFFFF#000000##000000
##CDD25F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA53
Deuteranopia (green-blind)
#E1CD65
Tritanopia (blue-blind)
#D9C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd25f;
/* rgb */ color: rgb(205, 210, 95);
/* oklch */ color: oklch(83.7% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf90',
    500: '#cdd25f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd25f;
$custom-light: #dfdf90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd25f",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 62.609,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83705,
    "c": 0.13842,
    "h": 111.3
  },
  "luminance": 0.59899
}

Semantic roles & 50–950 ramp

primary
#CDD25F
secondary
#444194
accent
#48DF4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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