#CDC55A#CDC55A

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

Color values

HEX#CDC55A
RGBrgb(205, 197, 90)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.9%, 56.1%, 19.6%)
CIE-LABlab(78.26, -10.92, 53.67)
CIE-LCHlch(78.26, 54.77, 101.51°)
OKLaboklab(80.88% -0.0334 0.1247)
OKLCHoklch(80.88% 0.129 105)
XYZxyz(46.9900, 53.6514, 17.5514)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC55A #5A62CD
analogous
#CD8B5A #CDC55A #9BCD5A
triadic
#CDC55A #5ACDC5 #C55ACD
tetradic
#CDC55A #5ACD8B #5A62CD #CD5A9B
square
#CDC55A #5ACD8B #5A62CD #CD5A9B
split-complementary
#CDC55A #5A9BCD #8B5ACD
monochromatic
#847E28 #B3AB36 #CDC55A #DBD689 #E9E6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC55A#FFFFFF#000000##000000
##CDC55A1.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)
#D4BF4F
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc55a;
/* rgb */ color: rgb(205, 197, 90);
/* oklch */ color: oklch(80.9% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfd68c',
    500: '#cdc55a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc55a;
$custom-light: #dfd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc55a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 55.826,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80879,
    "c": 0.12905,
    "h": 105
  },
  "luminance": 0.5365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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