#D9C83D#D9C83D

#D9C83D is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.153 H 102.2°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D9C83D
RGBrgb(217, 200, 61)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 7.8%, 71.9%, 14.9%)
CIE-LABlab(79.84, -9.17, 67.63)
CIE-LCHlch(79.84, 68.24, 97.72°)
OKLaboklab(82.31% -0.0322 0.1496)
OKLCHoklch(82.31% 0.153 102.2)
XYZxyz(50.1141, 56.3994, 12.6604)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C83D #3D4ED9
analogous
#D97A3D #D9C83D #9CD93D
triadic
#D9C83D #3DD9C8 #C83DD9
tetradic
#D9C83D #3DD97A #3D4ED9 #D93D9C
square
#D9C83D #3DD97A #3D4ED9 #D93D9C
split-complementary
#D9C83D #3D9CD9 #7A3DD9
monochromatic
#827719 #B5A524 #D9C83D #E3D770 #EDE5A3

Accessibility & contrast

On white

1.71
#D9C83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D9C83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C83D
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C83D#FFFFFF#000000##000000
##D9C83D1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC225
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#E9BAAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c83d;
/* rgb */ color: rgb(217, 200, 61);
/* oklch */ color: oklch(82.3% 0.153 102.2);
Tailwind
colors: {
  custom: {
    50: '#e9d87c',
    500: '#d9c83d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c83d;
$custom-light: #e9d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c83d",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 53.462,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82308,
    "c": 0.15301,
    "h": 102.2
  },
  "luminance": 0.56397
}

Semantic roles & 50–950 ramp

primary
#D9C83D
secondary
#313B89
accent
#50EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C83D

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

Preview Lab → · Contrast checker → · Palette generator →

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