#D9D43F#D9D43F

#D9D43F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.162 H 107.5°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D9D43F
RGBrgb(217, 212, 63)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 71%, 85%)
CMYKcmyk(0%, 2.3%, 71%, 14.9%)
CIE-LABlab(83.02, -15.11, 69.99)
CIE-LCHlch(83.02, 71.60, 102.19°)
OKLaboklab(84.84% -0.0488 0.1549)
OKLCHoklch(84.84% 0.162 107.5)
XYZxyz(53.0580, 62.1993, 13.9125)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D43F #3F44D9
analogous
#D9873F #D9D43F #91D93F
triadic
#D9D43F #3FD9D4 #D43FD9
tetradic
#D9D43F #3FD987 #3F44D9 #D93F91
square
#D9D43F #3FD987 #3F44D9 #D93F91
split-complementary
#D9D43F #3F91D9 #873FD9
monochromatic
#84801A #B7B224 #D9D43F #E3DF72 #EDEBA5

Accessibility & contrast

On white

1.56
#D9D43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D9D43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D43F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D43F#FFFFFF#000000##000000
##D9D43F1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC24
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#E9C6B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d43f;
/* rgb */ color: rgb(217, 212, 63);
/* oklch */ color: oklch(84.8% 0.162 107.5);
Tailwind
colors: {
  custom: {
    50: '#e8e07e',
    500: '#d9d43f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d43f;
$custom-light: #e8e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d43f",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 63
  },
  "hsl": {
    "h": 58.052,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84843,
    "c": 0.16242,
    "h": 107.5
  },
  "luminance": 0.62198
}

Semantic roles & 50–950 ramp

primary
#D9D43F
secondary
#32358A
accent
#44EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D43F

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

Preview Lab → · Contrast checker → · Palette generator →

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