#D8D24F#D8D24F

#D8D24F is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.150 H 106.7°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D8D24F
RGBrgb(216, 210, 79)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 63%, 85%)
CMYKcmyk(0%, 2.8%, 63.4%, 15.3%)
CIE-LABlab(82.52, -13.67, 63.36)
CIE-LCHlch(82.52, 64.82, 102.18°)
OKLaboklab(84.46% -0.043 0.1436)
OKLCHoklch(84.46% 0.15 106.7)
XYZxyz(52.7786, 61.2584, 16.4395)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D24F #4F55D8
analogous
#D88D4F #D8D24F #9AD84F
triadic
#D8D24F #4FD8D2 #D24FD8
tetradic
#D8D24F #4FD88D #4F55D8 #D84F9A
square
#D8D24F #4FD88D #4F55D8 #D84F9A
split-complementary
#D8D24F #4F9AD8 #8D4FD8
monochromatic
#8D881F #BFB92A #D8D24F #E3DF81 #EEECB3

Accessibility & contrast

On white

1.58
#D8D24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D24F#FFFFFF#000000##000000
##D8D24F1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3E
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#E7C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d24f;
/* rgb */ color: rgb(216, 210, 79);
/* oklch */ color: oklch(84.5% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e7df86',
    500: '#d8d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d24f;
$custom-light: #e7df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d24f",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 57.372,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84458,
    "c": 0.14988,
    "h": 106.7
  },
  "luminance": 0.61257
}

Semantic roles & 50–950 ramp

primary
#D8D24F
secondary
#383C93
accent
#48E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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