#CDCA55#CDCA55

#CDCA55 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.139 H 107.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CDCA55
RGBrgb(205, 202, 85)
HSLhsl(59, 55%, 57%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1.5%, 58.5%, 19.6%)
CIE-LABlab(79.54, -13.83, 57.35)
CIE-LCHlch(79.54, 58.99, 103.55°)
OKLaboklab(81.89% -0.0422 0.1319)
OKLCHoklch(81.89% 0.139 107.7)
XYZxyz(47.9385, 55.8775, 16.8528)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA55 #5558CD
analogous
#CD8E55 #CDCA55 #94CD55
triadic
#CDCA55 #55CDCA #CA55CD
tetradic
#CDCA55 #55CD8E #5558CD #CD5594
square
#CDCA55 #55CD8E #5558CD #CD5594
split-complementary
#CDCA55 #5594CD #8E55CD
monochromatic
#827F26 #B1AE34 #CDCA55 #DBD984 #E9E7B4

Accessibility & contrast

On white

1.72
#CDCA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CDCA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA55
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA55#FFFFFF#000000##000000
##CDCA551.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C348
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#DBBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca55;
/* rgb */ color: rgb(205, 202, 85);
/* oklch */ color: oklch(81.9% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfd989',
    500: '#cdca55',
    950: '#000000',
  },
}
SCSS
$custom: #cdca55;
$custom-light: #dfd989;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca55",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 58.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81888,
    "c": 0.1385,
    "h": 107.7
  },
  "luminance": 0.55876
}

Semantic roles & 50–950 ramp

primary
#CDCA55
secondary
#3D3F89
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCA55

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

Preview Lab → · Contrast checker → · Palette generator →

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