#D7D04C#D7D04C

#D7D04C 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#D7D04C
RGBrgb(215, 208, 76)
HSLhsl(57, 63%, 57%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 3.3%, 64.7%, 15.7%)
CIE-LABlab(81.88, -13.27, 63.89)
CIE-LCHlch(81.88, 65.25, 101.73°)
OKLaboklab(83.93% -0.0421 0.1443)
OKLCHoklch(83.93% 0.15 106.3)
XYZxyz(51.8866, 60.0824, 15.7000)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D04C #4C53D7
analogous
#D78A4C #D7D04C #99D74C
triadic
#D7D04C #4CD7D0 #D04CD7
tetradic
#D7D04C #4CD78A #4C53D7 #D74C99
square
#D7D04C #4CD78A #4C53D7 #D74C99
split-complementary
#D7D04C #4C99D7 #8A4CD7
monochromatic
#8A841F #BCB42A #D7D04C #E2DD7E #EDEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D04C#FFFFFF#000000##000000
##D7D04C1.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)
#E1C93B
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#E6C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d04c;
/* rgb */ color: rgb(215, 208, 76);
/* oklch */ color: oklch(83.9% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e7de84',
    500: '#d7d04c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d04c;
$custom-light: #e7de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d04c",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 56.978,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83925,
    "c": 0.15028,
    "h": 106.3
  },
  "luminance": 0.60081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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