#CDD254#CDD254

#CDD254 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.148 H 111.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CDD254
RGBrgb(205, 210, 84)
HSLhsl(62, 58%, 58%)
HSVhsv(62, 60%, 82%)
CMYKcmyk(2.4%, 0%, 60%, 17.6%)
CIE-LABlab(81.68, -17.89, 60.12)
CIE-LCHlch(81.68, 62.73, 106.57°)
OKLaboklab(83.59% -0.0538 0.1377)
OKLCHoklch(83.59% 0.148 111.3)
XYZxyz(49.8250, 59.7136, 17.2870)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD254 #5954D2
analogous
#D29854 #CDD254 #8ED254
triadic
#CDD254 #54CDD2 #D254CD
tetradic
#CDD254 #54D298 #5954D2 #D2548E
square
#CDD254 #54D298 #5954D2 #D2548E
split-complementary
#CDD254 #548ED2 #9854D2
monochromatic
#848824 #B3B831 #CDD254 #DBDF84 #E9EBB5

Accessibility & contrast

On white

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

On black

12.94
#CDD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD254
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD254#FFFFFF#000000##000000
##CDD2541.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#DAC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd254;
/* rgb */ color: rgb(205, 210, 84);
/* oklch */ color: oklch(83.6% 0.148 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf89',
    500: '#cdd254',
    950: '#000000',
  },
}
SCSS
$custom: #cdd254;
$custom-light: #dfdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd254",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 62.381,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83591,
    "c": 0.14781,
    "h": 111.3
  },
  "luminance": 0.59712
}

Semantic roles & 50–950 ramp

primary
#CDD254
secondary
#3F3C8E
accent
#46E24C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD254

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

Preview Lab → · Contrast checker → · Palette generator →

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