#CDD54A#CDD54A

#CDD54A is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.159 H 112.5°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CDD54A
RGBrgb(205, 213, 74)
HSLhsl(63, 62%, 56%)
HSVhsv(63, 65%, 84%)
CMYKcmyk(3.8%, 0%, 65.3%, 16.5%)
CIE-LABlab(82.41, -20.00, 64.98)
CIE-LCHlch(82.41, 67.99, 107.11°)
OKLaboklab(84.15% -0.0607 0.1465)
OKLCHoklch(84.15% 0.159 112.5)
XYZxyz(50.2085, 61.0631, 15.6187)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD54A #524AD5
analogous
#D5984A #CDD54A #88D54A
triadic
#CDD54A #4ACDD5 #D54ACD
tetradic
#CDD54A #4AD598 #524AD5 #D54A88
square
#CDD54A #4AD598 #524AD5 #D54A88
split-complementary
#CDD54A #4A88D5 #984AD5
monochromatic
#80861F #AFB72B #CDD54A #DBE17C #E8ECAD

Accessibility & contrast

On white

1.59
#CDD54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CDD54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD54A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD54A#FFFFFF#000000##000000
##CDD54A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB37
Deuteranopia (green-blind)
#E5CF54
Tritanopia (blue-blind)
#DAC9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd54a;
/* rgb */ color: rgb(205, 213, 74);
/* oklch */ color: oklch(84.2% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe184',
    500: '#cdd54a',
    950: '#000000',
  },
}
SCSS
$custom: #cdd54a;
$custom-light: #dfe184;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd54a",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 63.453,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8415,
    "c": 0.15861,
    "h": 112.5
  },
  "luminance": 0.61062
}

Semantic roles & 50–950 ramp

primary
#CDD54A
secondary
#3C378C
accent
#42E54C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD54A

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

Preview Lab → · Contrast checker → · Palette generator →

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