#D8D25D#D8D25D

#D8D25D is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.139 H 106.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D8D25D
RGBrgb(216, 210, 93)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 57%, 85%)
CMYKcmyk(0%, 2.8%, 56.9%, 15.3%)
CIE-LABlab(82.64, -12.74, 57.50)
CIE-LCHlch(82.64, 58.90, 102.49°)
OKLaboklab(84.59% -0.0389 0.133)
OKLCHoklch(84.59% 0.139 106.3)
XYZxyz(53.3429, 61.4841, 19.4115)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D25D #5D63D8
analogous
#D8945D #D8D25D #A0D85D
triadic
#D8D25D #5DD8D2 #D25DD8
tetradic
#D8D25D #5DD894 #5D63D8 #D85DA0
square
#D8D25D #5DD894 #5D63D8 #D85DA0
split-complementary
#D8D25D #5DA0D8 #945DD8
monochromatic
#969124 #C8C030 #D8D25D #E4E08E #F0EDC0

Accessibility & contrast

On white

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

On black

13.30
#D8D25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D25D
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D25D#FFFFFF#000000##000000
##D8D25D1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB51
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#E6C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d25d;
/* rgb */ color: rgb(216, 210, 93);
/* oklch */ color: oklch(84.6% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#e7df8f',
    500: '#d8d25d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d25d;
$custom-light: #e7df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d25d",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 57.073,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84593,
    "c": 0.13857,
    "h": 106.3
  },
  "luminance": 0.61482
}

Semantic roles & 50–950 ramp

primary
#D8D25D
secondary
#3E439B
accent
#25C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D25D

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

Preview Lab → · Contrast checker → · Palette generator →

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