#D7D04F#D7D04F

#D7D04F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.148 H 106.2°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D7D04F
RGBrgb(215, 208, 79)
HSLhsl(57, 63%, 58%)
HSVhsv(57, 63%, 84%)
CMYKcmyk(0%, 3.3%, 63.3%, 15.7%)
CIE-LABlab(81.91, -13.09, 62.69)
CIE-LCHlch(81.91, 64.04, 101.79°)
OKLaboklab(83.95% -0.0413 0.1422)
OKLCHoklch(83.95% 0.148 106.2)
XYZxyz(51.9933, 60.1251, 16.2621)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D04F #4F56D7
analogous
#D78C4F #D7D04F #9AD74F
triadic
#D7D04F #4FD7D0 #D04FD7
tetradic
#D7D04F #4FD78C #4F56D7 #D74F9A
square
#D7D04F #4FD78C #4F56D7 #D74F9A
split-complementary
#D7D04F #4F9AD7 #8C4FD7
monochromatic
#8C8620 #BEB62B #D7D04F #E2DD81 #EEEBB3

Accessibility & contrast

On white

1.61
#D7D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D7D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D04F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D04F#FFFFFF#000000##000000
##D7D04F1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93F
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#E6C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d04f;
/* rgb */ color: rgb(215, 208, 79);
/* oklch */ color: oklch(84.0% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6de86',
    500: '#d7d04f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d04f;
$custom-light: #e6de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d04f",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 56.912,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83951,
    "c": 0.14806,
    "h": 106.2
  },
  "luminance": 0.60123
}

Semantic roles & 50–950 ramp

primary
#D7D04F
secondary
#393D92
accent
#4AE642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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