#CDC55E#CDC55E

#CDC55E is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.125 H 104.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CDC55E
RGBrgb(205, 197, 94)
HSLhsl(56, 53%, 59%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.9%, 54.1%, 19.6%)
CIE-LABlab(78.30, -10.61, 51.87)
CIE-LCHlch(78.30, 52.94, 101.56°)
OKLaboklab(80.93% -0.032 0.1212)
OKLCHoklch(80.93% 0.125 104.8)
XYZxyz(47.1649, 53.7213, 18.4723)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC55E #5E66CD
analogous
#CD8D5E #CDC55E #9DCD5E
triadic
#CDC55E #5ECDC5 #C55ECD
tetradic
#CDC55E #5ECD8D #5E66CD #CD5E9D
square
#CDC55E #5ECD8D #5E66CD #CD5E9D
split-complementary
#CDC55E #5E9DCD #8D5ECD
monochromatic
#87802A #B5AC38 #CDC55E #DCD68D #EAE7BB

Accessibility & contrast

On white

1.79
#CDC55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CDC55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC55E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC55E#FFFFFF#000000##000000
##CDC55E1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF54
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc55e;
/* rgb */ color: rgb(205, 197, 94);
/* oklch */ color: oklch(80.9% 0.125 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd68f',
    500: '#cdc55e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc55e;
$custom-light: #dfd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc55e",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 55.676,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80925,
    "c": 0.12539,
    "h": 104.8
  },
  "luminance": 0.5372
}

Semantic roles & 50–950 ramp

primary
#CDC55E
secondary
#41478E
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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