#D7D04D#D7D04D

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

Color values

HEX#D7D04D
RGBrgb(215, 208, 77)
HSLhsl(57, 63%, 57%)
HSVhsv(57, 64%, 84%)
CMYKcmyk(0%, 3.3%, 64.2%, 15.7%)
CIE-LABlab(81.89, -13.21, 63.49)
CIE-LCHlch(81.89, 64.85, 101.75°)
OKLaboklab(83.93% -0.0419 0.1436)
OKLCHoklch(83.93% 0.15 106.3)
XYZxyz(51.9216, 60.0964, 15.8845)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D04D #4D54D7
analogous
#D78B4D #D7D04D #99D74D
triadic
#D7D04D #4DD7D0 #D04DD7
tetradic
#D7D04D #4DD78B #4D54D7 #D74D99
square
#D7D04D #4DD78B #4D54D7 #D74D99
split-complementary
#D7D04D #4D99D7 #8B4DD7
monochromatic
#8A851F #BCB52A #D7D04D #E2DD7F #EDEAB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D04D#FFFFFF#000000##000000
##D7D04D1.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)
#E1C93C
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#E6C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d04d;
/* rgb */ color: rgb(215, 208, 77);
/* oklch */ color: oklch(83.9% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e7de85',
    500: '#d7d04d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d04d;
$custom-light: #e7de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d04d",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 56.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83934,
    "c": 0.14955,
    "h": 106.3
  },
  "luminance": 0.60095
}

Semantic roles & 50–950 ramp

primary
#D7D04D
secondary
#383C90
accent
#4AE641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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