#CDCA58#CDCA58

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

Color values

HEX#CDCA58
RGBrgb(205, 202, 88)
HSLhsl(58, 54%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 1.5%, 57.1%, 19.6%)
CIE-LABlab(79.57, -13.61, 56.05)
CIE-LCHlch(79.57, 57.68, 103.65°)
OKLaboklab(81.92% -0.0412 0.1295)
OKLCHoklch(81.92% 0.136 107.7)
XYZxyz(48.0602, 55.9262, 17.4938)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA58 #585BCD
analogous
#CD9058 #CDCA58 #95CD58
triadic
#CDCA58 #58CDCA #CA58CD
tetradic
#CDCA58 #58CD90 #585BCD #CD5895
square
#CDCA58 #58CD90 #585BCD #CD5895
split-complementary
#CDCA58 #5895CD #9058CD
monochromatic
#838127 #B2AF35 #CDCA58 #DBD987 #E9E8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA58#FFFFFF#000000##000000
##CDCA581.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)
#D9C34C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca58;
/* rgb */ color: rgb(205, 202, 88);
/* oklch */ color: oklch(81.9% 0.136 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfd98b',
    500: '#cdca58',
    950: '#000000',
  },
}
SCSS
$custom: #cdca58;
$custom-light: #dfd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca58",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 58.462,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.13593,
    "h": 107.7
  },
  "luminance": 0.55925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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