#D9C75C#D9C75C

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

Color values

HEX#D9C75C
RGBrgb(217, 199, 92)
HSLhsl(51, 62%, 61%)
HSVhsv(51, 58%, 85%)
CMYKcmyk(0%, 8.3%, 57.6%, 14.9%)
CIE-LABlab(79.83, -6.82, 54.81)
CIE-LCHlch(79.83, 55.23, 97.09°)
OKLaboklab(82.38% -0.0221 0.1271)
OKLCHoklch(82.38% 0.129 99.9)
XYZxyz(50.9723, 56.3733, 18.3193)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C75C #5C6ED9
analogous
#D9885C #D9C75C #ACD95C
triadic
#D9C75C #5CD9C7 #C75CD9
tetradic
#D9C75C #5CD988 #5C6ED9 #D95CAC
square
#D9C75C #5CD988 #5C6ED9 #D95CAC
split-complementary
#D9C75C #5CACD9 #885CD9
monochromatic
#978723 #C9B32F #D9C75C #E5D88E #F0E9BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C75C#FFFFFF#000000##000000
##D9C75C1.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)
#D8C251
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#E8BAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c75c;
/* rgb */ color: rgb(217, 199, 92);
/* oklch */ color: oklch(82.4% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#e7d78e',
    500: '#d9c75c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c75c;
$custom-light: #e7d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c75c",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 51.36,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82376,
    "c": 0.129,
    "h": 99.9
  },
  "luminance": 0.56371
}

Semantic roles & 50–950 ramp

primary
#D9C75C
secondary
#3D4B9C
accent
#35CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C75C

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

Preview Lab → · Contrast checker → · Palette generator →

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