#D9C83F#D9C83F

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

Color values

HEX#D9C83F
RGBrgb(217, 200, 63)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 71%, 85%)
CMYKcmyk(0%, 7.8%, 71%, 14.9%)
CIE-LABlab(79.85, -9.08, 66.91)
CIE-LCHlch(79.85, 67.52, 97.73°)
OKLaboklab(82.32% -0.0318 0.1484)
OKLCHoklch(82.32% 0.152 102.1)
XYZxyz(50.1690, 56.4213, 12.9495)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C83F #3F50D9
analogous
#D97B3F #D9C83F #9DD93F
triadic
#D9C83F #3FD9C8 #C83FD9
tetradic
#D9C83F #3FD97B #3F50D9 #D93F9D
square
#D9C83F #3FD97B #3F50D9 #D93F9D
split-complementary
#D9C83F #3F9DD9 #7B3FD9
monochromatic
#84781A #B7A624 #D9C83F #E3D772 #EDE5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C83F#FFFFFF#000000##000000
##D9C83F1.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)
#DAC229
Deuteranopia (green-blind)
#DFC948
Tritanopia (blue-blind)
#E9BAAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c83f;
/* rgb */ color: rgb(217, 200, 63);
/* oklch */ color: oklch(82.3% 0.152 102.1);
Tailwind
colors: {
  custom: {
    50: '#e9d87d',
    500: '#d9c83f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c83f;
$custom-light: #e9d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c83f",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 53.377,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82322,
    "c": 0.15178,
    "h": 102.1
  },
  "luminance": 0.56419
}

Semantic roles & 50–950 ramp

primary
#D9C83F
secondary
#323C8A
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C83F

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

Preview Lab → · Contrast checker → · Palette generator →

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