#CDC83C#CDC83C

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

Color values

HEX#CDC83C
RGBrgb(205, 200, 60)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2.4%, 70.7%, 19.6%)
CIE-LABlab(78.82, -14.30, 66.65)
CIE-LCHlch(78.82, 68.16, 102.11°)
OKLaboklab(81.25% -0.0461 0.1478)
OKLCHoklch(81.25% 0.155 107.3)
XYZxyz(46.6485, 54.6155, 12.3587)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC83C #3C41CD
analogous
#CD803C #CDC83C #8ACD3C
triadic
#CDC83C #3CCDC8 #C83CCD
tetradic
#CDC83C #3CCD80 #3C41CD #CD3C8A
square
#CDC83C #3CCD80 #3C41CD #CD3C8A
split-complementary
#CDC83C #3C8ACD #803CCD
monochromatic
#716F1D #A29E2A #CDC83C #D9D66D #E6E39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC83C#FFFFFF#000000##000000
##CDC83C1.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)
#D9C024
Deuteranopia (green-blind)
#DBC646
Tritanopia (blue-blind)
#DCBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc83c;
/* rgb */ color: rgb(205, 200, 60);
/* oklch */ color: oklch(81.3% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d87b',
    500: '#cdc83c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc83c;
$custom-light: #e0d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc83c",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 57.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8125,
    "c": 0.15478,
    "h": 107.3
  },
  "luminance": 0.54614
}

Semantic roles & 50–950 ramp

primary
#CDC83C
secondary
#33357A
accent
#4BE245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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