#CDD245#CDD245

#CDD245 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.159 H 111.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#CDD245
RGBrgb(205, 210, 69)
HSLhsl(62, 61%, 55%)
HSVhsv(62, 67%, 82%)
CMYKcmyk(2.4%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.57, -18.82, 66.05)
CIE-LCHlch(81.57, 68.67, 105.90°)
OKLaboklab(83.46% -0.0579 0.148)
OKLCHoklch(83.46% 0.159 111.4)
XYZxyz(49.2991, 59.5032, 14.5174)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD245 #4A45D2
analogous
#D29145 #CDD245 #86D245
triadic
#CDD245 #45CDD2 #D245CD
tetradic
#CDD245 #45D291 #4A45D2 #D24586
square
#CDD245 #45D291 #4A45D2 #D24586
split-complementary
#CDD245 #4586D2 #9145D2
monochromatic
#7B7E1F #ABAF2A #CDD245 #DADE76 #E7EAA8

Accessibility & contrast

On white

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

On black

12.90
#CDD245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD245
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD245#FFFFFF#000000##000000
##CDD2451.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#DBC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd245;
/* rgb */ color: rgb(205, 210, 69);
/* oklch */ color: oklch(83.5% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#e0df81',
    500: '#cdd245',
    950: '#000000',
  },
}
SCSS
$custom: #cdd245;
$custom-light: #e0df81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd245",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 62.128,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.15892,
    "h": 111.4
  },
  "luminance": 0.59502
}

Semantic roles & 50–950 ramp

primary
#CDD245
secondary
#383686
accent
#44E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD245

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

Preview Lab → · Contrast checker → · Palette generator →

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