#CDC83D#CDC83D

#CDC83D 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#CDC83D
RGBrgb(205, 200, 61)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2.4%, 70.2%, 19.6%)
CIE-LABlab(78.83, -14.26, 66.29)
CIE-LCHlch(78.83, 67.81, 102.14°)
OKLaboklab(81.26% -0.0459 0.1472)
OKLCHoklch(81.26% 0.154 107.3)
XYZxyz(46.6752, 54.6262, 12.4992)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC83D #3D42CD
analogous
#CD803D #CDC83D #8ACD3D
triadic
#CDC83D #3DCDC8 #C83DCD
tetradic
#CDC83D #3DCD80 #3D42CD #CD3D8A
square
#CDC83D #3DCD80 #3D42CD #CD3D8A
split-complementary
#CDC83D #3D8ACD #803DCD
monochromatic
#726F1D #A39F2A #CDC83D #DAD66E #E6E49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC83D#FFFFFF#000000##000000
##CDC83D1.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)
#D9C025
Deuteranopia (green-blind)
#DBC647
Tritanopia (blue-blind)
#DCBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc83d;
/* rgb */ color: rgb(205, 200, 61);
/* oklch */ color: oklch(81.3% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d87b',
    500: '#cdc83d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc83d;
$custom-light: #e0d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc83d",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 57.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81256,
    "c": 0.15416,
    "h": 107.3
  },
  "luminance": 0.54625
}

Semantic roles & 50–950 ramp

primary
#CDC83D
secondary
#33367B
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC83D

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

Preview Lab → · Contrast checker → · Palette generator →

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