#CDCA54#CDCA54

#CDCA54 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.17:1 contrast (WCAG AA passes).

Color values

HEX#CDCA54
RGBrgb(205, 202, 84)
HSLhsl(59, 55%, 57%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1.5%, 59%, 19.6%)
CIE-LABlab(79.53, -13.90, 57.78)
CIE-LCHlch(79.53, 59.42, 103.52°)
OKLaboklab(81.88% -0.0425 0.1327)
OKLCHoklch(81.88% 0.139 107.7)
XYZxyz(47.8991, 55.8617, 16.6450)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA54 #5457CD
analogous
#CD8E54 #CDCA54 #94CD54
triadic
#CDCA54 #54CDCA #CA54CD
tetradic
#CDCA54 #54CD8E #5457CD #CD5494
square
#CDCA54 #54CD8E #5457CD #CD5494
split-complementary
#CDCA54 #5494CD #8E54CD
monochromatic
#817F26 #B0AD34 #CDCA54 #DBD983 #E9E7B3

Accessibility & contrast

On white

1.73
#CDCA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CDCA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA54
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA54#FFFFFF#000000##000000
##CDCA541.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca54;
/* rgb */ color: rgb(205, 202, 84);
/* oklch */ color: oklch(81.9% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfd989',
    500: '#cdca54',
    950: '#000000',
  },
}
SCSS
$custom: #cdca54;
$custom-light: #dfd989;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca54",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 58.512,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81878,
    "c": 0.13933,
    "h": 107.7
  },
  "luminance": 0.5586
}

Semantic roles & 50–950 ramp

primary
#CDCA54
secondary
#3D3F88
accent
#4DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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