#CDC83F#CDC83F

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

Color values

HEX#CDC83F
RGBrgb(205, 200, 63)
HSLhsl(58, 59%, 53%)
HSVhsv(58, 69%, 80%)
CMYKcmyk(0%, 2.4%, 69.3%, 19.6%)
CIE-LABlab(78.84, -14.16, 65.57)
CIE-LCHlch(78.84, 67.08, 102.18°)
OKLaboklab(81.27% -0.0454 0.146)
OKLCHoklch(81.27% 0.153 107.3)
XYZxyz(46.7301, 54.6481, 12.7883)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC83F #3F44CD
analogous
#CD813F #CDC83F #8BCD3F
triadic
#CDC83F #3FCDC8 #C83FCD
tetradic
#CDC83F #3FCD81 #3F44CD #CD3F8B
square
#CDC83F #3FCD81 #3F44CD #CD3F8B
split-complementary
#CDC83F #3F8BCD #813FCD
monochromatic
#74711E #A4A02B #CDC83F #DAD670 #E6E4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC83F#FFFFFF#000000##000000
##CDC83F1.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)
#D9C029
Deuteranopia (green-blind)
#DBC649
Tritanopia (blue-blind)
#DCBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc83f;
/* rgb */ color: rgb(205, 200, 63);
/* oklch */ color: oklch(81.3% 0.153 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d87c',
    500: '#cdc83f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc83f;
$custom-light: #e0d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc83f",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 57.887,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81271,
    "c": 0.15289,
    "h": 107.3
  },
  "luminance": 0.54647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC83F

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

Preview Lab → · Contrast checker → · Palette generator →

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