#D9C75B#D9C75B

#D9C75B is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.130 H 99.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D9C75B
RGBrgb(217, 199, 91)
HSLhsl(51, 62%, 60%)
HSVhsv(51, 58%, 85%)
CMYKcmyk(0%, 8.3%, 58.1%, 14.9%)
CIE-LABlab(79.82, -6.89, 55.25)
CIE-LCHlch(79.82, 55.68, 97.11°)
OKLaboklab(82.37% -0.0224 0.1279)
OKLCHoklch(82.37% 0.13 99.9)
XYZxyz(50.9289, 56.3560, 18.0906)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C75B #5B6DD9
analogous
#D9885B #D9C75B #ACD95B
triadic
#D9C75B #5BD9C7 #C75BD9
tetradic
#D9C75B #5BD988 #5B6DD9 #D95BAC
square
#D9C75B #5BD988 #5B6DD9 #D95BAC
split-complementary
#D9C75B #5BACD9 #885BD9
monochromatic
#978623 #C8B22E #D9C75B #E5D88D #F0E9BE

Accessibility & contrast

On white

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

On black

12.27
#D9C75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C75B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C75B#FFFFFF#000000##000000
##D9C75B1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#E8BAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c75b;
/* rgb */ color: rgb(217, 199, 91);
/* oklch */ color: oklch(82.4% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#e7d78d',
    500: '#d9c75b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c75b;
$custom-light: #e7d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c75b",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 51.429,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82365,
    "c": 0.12987,
    "h": 99.9
  },
  "luminance": 0.56354
}

Semantic roles & 50–950 ramp

primary
#D9C75B
secondary
#3D4A9B
accent
#34CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C75B

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

Preview Lab → · Contrast checker → · Palette generator →

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