#D9C143#D9C143

#D9C143 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.144 H 98.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D9C143
RGBrgb(217, 193, 67)
HSLhsl(50, 66%, 56%)
HSVhsv(50, 69%, 85%)
CMYKcmyk(0%, 11.1%, 69.1%, 14.9%)
CIE-LABlab(78.05, -5.29, 63.60)
CIE-LCHlch(78.05, 63.82, 94.76°)
OKLaboklab(80.9% -0.0206 0.1421)
OKLCHoklch(80.9% 0.144 98.2)
XYZxyz(48.7006, 53.2993, 13.0317)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C143 #435BD9
analogous
#D97643 #D9C143 #A6D943
triadic
#D9C143 #43D9C1 #C143D9
tetradic
#D9C143 #43D976 #435BD9 #D943A6
square
#D9C143 #43D976 #435BD9 #D943A6
split-complementary
#D9C143 #43A6D9 #7643D9
monochromatic
#86751B #B9A225 #D9C143 #E3D276 #EEE3A9

Accessibility & contrast

On white

1.80
#D9C143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D9C143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C143
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C143#FFFFFF#000000##000000
##D9C1431.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC31
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#EAB3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c143;
/* rgb */ color: rgb(217, 193, 67);
/* oklch */ color: oklch(80.9% 0.144 98.2);
Tailwind
colors: {
  custom: {
    50: '#e8d37e',
    500: '#d9c143',
    950: '#000000',
  },
}
SCSS
$custom: #d9c143;
$custom-light: #e8d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c143",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 50.4,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.14359,
    "h": 98.2
  },
  "luminance": 0.53297
}

Semantic roles & 50–950 ramp

primary
#D9C143
secondary
#33428D
accent
#5AE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C143

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

Preview Lab → · Contrast checker → · Palette generator →

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