#D7D32E#D7D32E

#D7D32E is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.171 H 108.1°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D7D32E
RGBrgb(215, 211, 46)
HSLhsl(59, 68%, 51%)
HSVhsv(59, 79%, 84%)
CMYKcmyk(0%, 1.9%, 78.6%, 15.7%)
CIE-LABlab(82.50, -16.14, 74.82)
CIE-LCHlch(82.50, 76.54, 102.17°)
OKLaboklab(84.37% -0.053 0.1623)
OKLCHoklch(84.37% 0.171 108.1)
XYZxyz(51.8138, 61.2346, 11.6744)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D32E #2E32D7
analogous
#D77E2E #D7D32E #86D72E
triadic
#D7D32E #2ED7D3 #D32ED7
tetradic
#D7D32E #2ED77E #2E32D7 #D72E86
square
#D7D32E #2ED77E #2E32D7 #D72E86
split-complementary
#D7D32E #2E86D7 #7E2ED7
monochromatic
#747216 #A8A420 #D7D32E #E1DE61 #EBE995

Accessibility & contrast

On white

1.59
#D7D32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D7D32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D32E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D32E#FFFFFF#000000##000000
##D7D32E1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E8D03D
Tritanopia (blue-blind)
#E7C5B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d32e;
/* rgb */ color: rgb(215, 211, 46);
/* oklch */ color: oklch(84.4% 0.171 108.1);
Tailwind
colors: {
  custom: {
    50: '#e8e076',
    500: '#d7d32e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d32e;
$custom-light: #e8e076;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d32e",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 46
  },
  "hsl": {
    "h": 58.58,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84365,
    "c": 0.17068,
    "h": 108.1
  },
  "luminance": 0.61233
}

Semantic roles & 50–950 ramp

primary
#D7D32E
secondary
#2C2E7D
accent
#41EB3D
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D7D32E

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

Preview Lab → · Contrast checker → · Palette generator →

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