#CDC55B#CDC55B

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

Color values

HEX#CDC55B
RGBrgb(205, 197, 91)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.9%, 55.6%, 19.6%)
CIE-LABlab(78.27, -10.85, 53.22)
CIE-LCHlch(78.27, 54.31, 101.52°)
OKLaboklab(80.89% -0.033 0.1238)
OKLCHoklch(80.89% 0.128 104.9)
XYZxyz(47.0329, 53.6685, 17.7770)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC55B #5B63CD
analogous
#CD8C5B #CDC55B #9CCD5B
triadic
#CDC55B #5BCDC5 #C55BCD
tetradic
#CDC55B #5BCD8C #5B63CD #CD5B9C
square
#CDC55B #5BCD8C #5B63CD #CD5B9C
split-complementary
#CDC55B #5B9CCD #8C5BCD
monochromatic
#857F29 #B4AB37 #CDC55B #DBD68A #EAE6B9

Accessibility & contrast

On white

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

On black

11.73
#CDC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC55B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC55B#FFFFFF#000000##000000
##CDC55B1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF50
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#DBB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc55b;
/* rgb */ color: rgb(205, 197, 91);
/* oklch */ color: oklch(80.9% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd68d',
    500: '#cdc55b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc55b;
$custom-light: #dfd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc55b",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 55.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80891,
    "c": 0.12815,
    "h": 104.9
  },
  "luminance": 0.53667
}

Semantic roles & 50–950 ramp

primary
#CDC55B
secondary
#40458C
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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