#CDCA59#CDCA59

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

Color values

HEX#CDCA59
RGBrgb(205, 202, 89)
HSLhsl(58, 54%, 58%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 1.5%, 56.6%, 19.6%)
CIE-LABlab(79.58, -13.53, 55.62)
CIE-LCHlch(79.58, 57.24, 103.68°)
OKLaboklab(81.93% -0.0409 0.1287)
OKLCHoklch(81.93% 0.135 107.6)
XYZxyz(48.1019, 55.9428, 17.7134)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA59 #595CCD
analogous
#CD9059 #CDCA59 #96CD59
triadic
#CDCA59 #59CDCA #CA59CD
tetradic
#CDCA59 #59CD90 #595CCD #CD5996
square
#CDCA59 #59CD90 #595CCD #CD5996
split-complementary
#CDCA59 #5996CD #9059CD
monochromatic
#848128 #B3B036 #CDCA59 #DBD988 #E9E8B7

Accessibility & contrast

On white

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

On black

12.19
#CDCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA59
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA59#FFFFFF#000000##000000
##CDCA591.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34D
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca59;
/* rgb */ color: rgb(205, 202, 89);
/* oklch */ color: oklch(81.9% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfd98c',
    500: '#cdca59',
    950: '#000000',
  },
}
SCSS
$custom: #cdca59;
$custom-light: #dfd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca59",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 58.448,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8193,
    "c": 0.13506,
    "h": 107.6
  },
  "luminance": 0.55941
}

Semantic roles & 50–950 ramp

primary
#CDCA59
secondary
#3F418B
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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