#D7D232#D7D232

#D7D232 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.168 H 107.6°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D7D232
RGBrgb(215, 210, 50)
HSLhsl(58, 67%, 52%)
HSVhsv(58, 77%, 84%)
CMYKcmyk(0%, 2.3%, 76.7%, 15.7%)
CIE-LABlab(82.26, -15.50, 73.45)
CIE-LCHlch(82.26, 75.07, 101.92°)
OKLaboklab(84.17% -0.0509 0.16)
OKLCHoklch(84.17% 0.168 107.6)
XYZxyz(51.6487, 60.7723, 12.0266)
Luminance0.6077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D232 #3237D7
analogous
#D78032 #D7D232 #8AD732
triadic
#D7D232 #32D7D2 #D232D7
tetradic
#D7D232 #32D780 #3237D7 #D7328A
square
#D7D232 #32D780 #3237D7 #D7328A
split-complementary
#D7D232 #328AD7 #8032D7
monochromatic
#777417 #ABA621 #D7D232 #E1DD65 #EBE898

Accessibility & contrast

On white

1.60
#D7D232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D7D232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D232
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D232#FFFFFF#000000##000000
##D7D2321.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA00
Deuteranopia (green-blind)
#E7CF40
Tritanopia (blue-blind)
#E7C4B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d232;
/* rgb */ color: rgb(215, 210, 50);
/* oklch */ color: oklch(84.2% 0.168 107.6);
Tailwind
colors: {
  custom: {
    50: '#e7df77',
    500: '#d7d232',
    950: '#000000',
  },
}
SCSS
$custom: #d7d232;
$custom-light: #e7df77;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d232",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 50
  },
  "hsl": {
    "h": 58.182,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.84172,
    "c": 0.16793,
    "h": 107.6
  },
  "luminance": 0.60771
}

Semantic roles & 50–950 ramp

primary
#D7D232
secondary
#2E307F
accent
#43EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7D232

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

Preview Lab → · Contrast checker → · Palette generator →

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