#CDD54B#CDD54B

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

Color values

HEX#CDD54B
RGBrgb(205, 213, 75)
HSLhsl(63, 62%, 56%)
HSVhsv(63, 65%, 84%)
CMYKcmyk(3.8%, 0%, 64.8%, 16.5%)
CIE-LABlab(82.42, -19.95, 64.60)
CIE-LCHlch(82.42, 67.61, 107.16°)
OKLaboklab(84.16% -0.0605 0.1459)
OKLCHoklch(84.16% 0.158 112.5)
XYZxyz(50.2425, 61.0767, 15.7976)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD54B #534BD5
analogous
#D5984B #CDD54B #88D54B
triadic
#CDD54B #4BCDD5 #D54BCD
tetradic
#CDD54B #4BD598 #534BD5 #D54B88
square
#CDD54B #4BD598 #534BD5 #D54B88
split-complementary
#CDD54B #4B88D5 #984BD5
monochromatic
#80861F #B0B82B #CDD54B #DBE17D #E9ECAE

Accessibility & contrast

On white

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

On black

13.22
#CDD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD54B
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD54B#FFFFFF#000000##000000
##CDD54B1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd54b;
/* rgb */ color: rgb(205, 213, 75);
/* oklch */ color: oklch(84.2% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe184',
    500: '#cdd54b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd54b;
$custom-light: #dfe184;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd54b",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 63.478,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84158,
    "c": 0.1579,
    "h": 112.5
  },
  "luminance": 0.61076
}

Semantic roles & 50–950 ramp

primary
#CDD54B
secondary
#3C378D
accent
#43E54C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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