#D7D02E#D7D02E

#D7D02E is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.168 H 106.9°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D7D02E
RGBrgb(215, 208, 46)
HSLhsl(58, 68%, 51%)
HSVhsv(58, 79%, 84%)
CMYKcmyk(0%, 3.3%, 78.6%, 15.7%)
CIE-LABlab(81.71, -14.65, 74.12)
CIE-LCHlch(81.71, 75.55, 101.18°)
OKLaboklab(83.73% -0.0488 0.1607)
OKLCHoklch(83.73% 0.168 106.9)
XYZxyz(51.0755, 59.7580, 11.4283)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D02E #2E35D7
analogous
#D77B2E #D7D02E #89D72E
triadic
#D7D02E #2ED7D0 #D02ED7
tetradic
#D7D02E #2ED77B #2E35D7 #D72E89
square
#D7D02E #2ED77B #2E35D7 #D72E89
split-complementary
#D7D02E #2E89D7 #7B2ED7
monochromatic
#747016 #A8A220 #D7D02E #E1DC61 #EBE795

Accessibility & contrast

On white

1.62
#D7D02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D7D02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D02E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D02E#FFFFFF#000000##000000
##D7D02E1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#E5CE3C
Tritanopia (blue-blind)
#E7C2B2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7d02e;
/* rgb */ color: rgb(215, 208, 46);
/* oklch */ color: oklch(83.7% 0.168 106.9);
Tailwind
colors: {
  custom: {
    50: '#e8de75',
    500: '#d7d02e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d02e;
$custom-light: #e8de75;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d02e",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 46
  },
  "hsl": {
    "h": 57.515,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83728,
    "c": 0.16799,
    "h": 106.9
  },
  "luminance": 0.59756
}

Semantic roles & 50–950 ramp

primary
#D7D02E
secondary
#2C307D
accent
#44EB3D
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D7D02E

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

Preview Lab → · Contrast checker → · Palette generator →

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