#D9D13F#D9D13F

#D9D13F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.160 H 106.2°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D9D13F
RGBrgb(217, 209, 63)
HSLhsl(57, 67%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.7%, 71%, 14.9%)
CIE-LABlab(82.22, -13.62, 69.22)
CIE-LCHlch(82.22, 70.55, 101.13°)
OKLaboklab(84.21% -0.0446 0.1533)
OKLCHoklch(84.21% 0.16 106.2)
XYZxyz(52.3150, 60.7134, 13.6648)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D13F #3F47D9
analogous
#D9843F #D9D13F #94D93F
triadic
#D9D13F #3FD9D1 #D13FD9
tetradic
#D9D13F #3FD984 #3F47D9 #D93F94
square
#D9D13F #3FD984 #3F47D9 #D93F94
split-complementary
#D9D13F #3F94D9 #843FD9
monochromatic
#847E1A #B7AF24 #D9D13F #E3DD72 #EDE9A5

Accessibility & contrast

On white

1.60
#D9D13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D9D13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D13F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D13F#FFFFFF#000000##000000
##D9D13F1.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C925
Deuteranopia (green-blind)
#E6CF49
Tritanopia (blue-blind)
#E9C3B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d13f;
/* rgb */ color: rgb(217, 209, 63);
/* oklch */ color: oklch(84.2% 0.160 106.2);
Tailwind
colors: {
  custom: {
    50: '#e8de7e',
    500: '#d9d13f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d13f;
$custom-light: #e8de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d13f",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 56.883,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84209,
    "c": 0.15964,
    "h": 106.2
  },
  "luminance": 0.60712
}

Semantic roles & 50–950 ramp

primary
#D9D13F
secondary
#32378A
accent
#47EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D13F

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

Preview Lab → · Contrast checker → · Palette generator →

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