#CDC83A#CDC83A

#CDC83A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.156 H 107.4°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC83A
RGBrgb(205, 200, 58)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 72%, 80%)
CMYKcmyk(0%, 2.4%, 71.7%, 19.6%)
CIE-LABlab(78.81, -14.40, 67.34)
CIE-LCHlch(78.81, 68.87, 102.07°)
OKLaboklab(81.24% -0.0466 0.1489)
OKLCHoklch(81.24% 0.156 107.4)
XYZxyz(46.5966, 54.5948, 12.0855)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC83A #3A3FCD
analogous
#CD7F3A #CDC83A #89CD3A
triadic
#CDC83A #3ACDC8 #C83ACD
tetradic
#CDC83A #3ACD7F #3A3FCD #CD3A89
square
#CDC83A #3ACD7F #3A3FCD #CD3A89
split-complementary
#CDC83A #3A89CD #7F3ACD
monochromatic
#706D1C #A19D29 #CDC83A #D9D66B #E6E39C

Accessibility & contrast

On white

1.76
#CDC83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CDC83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC83A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC83A#FFFFFF#000000##000000
##CDC83A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C020
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#DCBBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc83a;
/* rgb */ color: rgb(205, 200, 58);
/* oklch */ color: oklch(81.2% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0d87a',
    500: '#cdc83a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc83a;
$custom-light: #e0d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc83a",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 57.959,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81236,
    "c": 0.15599,
    "h": 107.4
  },
  "luminance": 0.54593
}

Semantic roles & 50–950 ramp

primary
#CDC83A
secondary
#323479
accent
#4AE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC83A

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

Preview Lab → · Contrast checker → · Palette generator →

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