#D9C943#D9C943

#D9C943 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.150 H 102.4°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D9C943
RGBrgb(217, 201, 67)
HSLhsl(54, 66%, 56%)
HSVhsv(54, 69%, 85%)
CMYKcmyk(0%, 7.4%, 69.1%, 14.9%)
CIE-LABlab(80.14, -9.39, 65.70)
CIE-LCHlch(80.14, 66.36, 98.13°)
OKLaboklab(82.56% -0.0322 0.1466)
OKLCHoklch(82.56% 0.15 102.4)
XYZxyz(50.5172, 56.9324, 13.6372)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C943 #4353D9
analogous
#D97E43 #D9C943 #9ED943
triadic
#D9C943 #43D9C9 #C943D9
tetradic
#D9C943 #43D97E #4353D9 #D9439E
square
#D9C943 #43D97E #4353D9 #D9439E
split-complementary
#D9C943 #439ED9 #7E43D9
monochromatic
#867B1B #B9AA25 #D9C943 #E3D876 #EEE6A9

Accessibility & contrast

On white

1.70
#D9C943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D9C943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C943
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C943#FFFFFF#000000##000000
##D9C9431.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32F
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#E9BBAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c943;
/* rgb */ color: rgb(217, 201, 67);
/* oklch */ color: oklch(82.6% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8d97f',
    500: '#d9c943',
    950: '#000000',
  },
}
SCSS
$custom: #d9c943;
$custom-light: #e8d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c943",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 53.6,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8256,
    "c": 0.15005,
    "h": 102.4
  },
  "luminance": 0.5693
}

Semantic roles & 50–950 ramp

primary
#D9C943
secondary
#333D8D
accent
#51E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C943

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

Preview Lab → · Contrast checker → · Palette generator →

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