#D7D24F#D7D24F

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

Color values

HEX#D7D24F
RGBrgb(215, 210, 79)
HSLhsl(58, 63%, 58%)
HSVhsv(58, 63%, 84%)
CMYKcmyk(0%, 2.3%, 63.3%, 15.7%)
CIE-LABlab(82.44, -14.09, 63.25)
CIE-LCHlch(82.44, 64.80, 102.56°)
OKLaboklab(84.37% -0.0441 0.1434)
OKLCHoklch(84.37% 0.15 107.1)
XYZxyz(52.4840, 61.1065, 16.4257)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24F #4F54D7
analogous
#D78E4F #D7D24F #98D74F
triadic
#D7D24F #4FD7D2 #D24FD7
tetradic
#D7D24F #4FD78E #4F54D7 #D74F98
square
#D7D24F #4FD78E #4F54D7 #D74F98
split-complementary
#D7D24F #4F98D7 #8E4FD7
monochromatic
#8C8820 #BEB82B #D7D24F #E2DF81 #EEEBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D24F#FFFFFF#000000##000000
##D7D24F1.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)
#E3CA3E
Deuteranopia (green-blind)
#E5D057
Tritanopia (blue-blind)
#E6C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d24f;
/* rgb */ color: rgb(215, 210, 79);
/* oklch */ color: oklch(84.4% 0.150 107.1);
Tailwind
colors: {
  custom: {
    50: '#e6df86',
    500: '#d7d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24f;
$custom-light: #e6df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24f",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 57.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84373,
    "c": 0.15,
    "h": 107.1
  },
  "luminance": 0.61105
}

Semantic roles & 50–950 ramp

primary
#D7D24F
secondary
#393C92
accent
#48E642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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