#CDC83E#CDC83E

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

Color values

HEX#CDC83E
RGBrgb(205, 200, 62)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2.4%, 69.8%, 19.6%)
CIE-LABlab(78.83, -14.21, 65.93)
CIE-LCHlch(78.83, 67.45, 102.16°)
OKLaboklab(81.26% -0.0457 0.1466)
OKLCHoklch(81.26% 0.154 107.3)
XYZxyz(46.7024, 54.6371, 12.6424)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC83E #3E43CD
analogous
#CD803E #CDC83E #8BCD3E
triadic
#CDC83E #3ECDC8 #C83ECD
tetradic
#CDC83E #3ECD80 #3E43CD #CD3E8B
square
#CDC83E #3ECD80 #3E43CD #CD3E8B
split-complementary
#CDC83E #3E8BCD #803ECD
monochromatic
#73701E #A39F2A #CDC83E #DAD66F #E6E49F

Accessibility & contrast

On white

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

On black

11.93
#CDC83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC83E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC83E#FFFFFF#000000##000000
##CDC83E1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C027
Deuteranopia (green-blind)
#DBC648
Tritanopia (blue-blind)
#DCBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc83e;
/* rgb */ color: rgb(205, 200, 62);
/* oklch */ color: oklch(81.3% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d87c',
    500: '#cdc83e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc83e;
$custom-light: #e0d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc83e",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 62
  },
  "hsl": {
    "h": 57.902,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.15354,
    "h": 107.3
  },
  "luminance": 0.54635
}

Semantic roles & 50–950 ramp

primary
#CDC83E
secondary
#34367C
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC83E

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

Preview Lab → · Contrast checker → · Palette generator →

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