#D7D24E#D7D24E

#D7D24E is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.151 H 107.1°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D7D24E
RGBrgb(215, 210, 78)
HSLhsl(58, 63%, 57%)
HSVhsv(58, 64%, 84%)
CMYKcmyk(0%, 2.3%, 63.7%, 15.7%)
CIE-LABlab(82.43, -14.15, 63.65)
CIE-LCHlch(82.43, 65.20, 102.53°)
OKLaboklab(84.36% -0.0444 0.1441)
OKLCHoklch(84.36% 0.151 107.1)
XYZxyz(52.4479, 61.0920, 16.2354)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24E #4E53D7
analogous
#D78D4E #D7D24E #98D74E
triadic
#D7D24E #4ED7D2 #D24ED7
tetradic
#D7D24E #4ED78D #4E53D7 #D74E98
square
#D7D24E #4ED78D #4E53D7 #D74E98
split-complementary
#D7D24E #4E98D7 #8D4ED7
monochromatic
#8B871F #BDB82B #D7D24E #E2DF80 #EEEBB2

Accessibility & contrast

On white

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

On black

13.22
#D7D24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D24E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D24E#FFFFFF#000000##000000
##D7D24E1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3D
Deuteranopia (green-blind)
#E5D056
Tritanopia (blue-blind)
#E6C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d24e;
/* rgb */ color: rgb(215, 210, 78);
/* oklch */ color: oklch(84.4% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#e6df86',
    500: '#d7d24e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24e;
$custom-light: #e6df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24e",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 78
  },
  "hsl": {
    "h": 57.81,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84364,
    "c": 0.15075,
    "h": 107.1
  },
  "luminance": 0.6109
}

Semantic roles & 50–950 ramp

primary
#D7D24E
secondary
#383B91
accent
#48E642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D24E

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

Preview Lab → · Contrast checker → · Palette generator →

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