#CDD54C#CDD54C

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

Color values

HEX#CDD54C
RGBrgb(205, 213, 76)
HSLhsl(64, 62%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(3.8%, 0%, 64.3%, 16.5%)
CIE-LABlab(82.43, -19.88, 64.21)
CIE-LCHlch(82.43, 67.22, 107.21°)
OKLaboklab(84.17% -0.0602 0.1452)
OKLCHoklch(84.17% 0.157 112.5)
XYZxyz(50.2770, 61.0905, 15.9792)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD54C #544CD5
analogous
#D5994C #CDD54C #89D54C
triadic
#CDD54C #4CCDD5 #D54CCD
tetradic
#CDD54C #4CD599 #544CD5 #D54C89
square
#CDD54C #4CD599 #544CD5 #D54C89
split-complementary
#CDD54C #4C89D5 #994CD5
monochromatic
#818720 #B0B92B #CDD54C #DBE17E #E9ECAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD54C#FFFFFF#000000##000000
##CDD54C1.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)
#E4CB3A
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#DAC9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd54c;
/* rgb */ color: rgb(205, 213, 76);
/* oklch */ color: oklch(84.2% 0.157 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe185',
    500: '#cdd54c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd54c;
$custom-light: #dfe185;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd54c",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 63.504,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84166,
    "c": 0.15718,
    "h": 112.5
  },
  "luminance": 0.61089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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