#D8D25E#D8D25E

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

Color values

HEX#D8D25E
RGBrgb(216, 210, 94)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 56%, 85%)
CMYKcmyk(0%, 2.8%, 56.5%, 15.3%)
CIE-LABlab(82.65, -12.66, 57.07)
CIE-LCHlch(82.65, 58.45, 102.51°)
OKLaboklab(84.6% -0.0385 0.1322)
OKLCHoklch(84.6% 0.138 106.3)
XYZxyz(53.3875, 61.5019, 19.6463)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D25E #5E64D8
analogous
#D8955E #D8D25E #A1D85E
triadic
#D8D25E #5ED8D2 #D25ED8
tetradic
#D8D25E #5ED895 #5E64D8 #D85EA1
square
#D8D25E #5ED895 #5E64D8 #D85EA1
split-complementary
#D8D25E #5EA1D8 #955ED8
monochromatic
#979125 #C8C131 #D8D25E #E4E08F #F0EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D25E#FFFFFF#000000##000000
##D8D25E1.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)
#E2CB52
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#E6C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d25e;
/* rgb */ color: rgb(216, 210, 94);
/* oklch */ color: oklch(84.6% 0.138 106.3);
Tailwind
colors: {
  custom: {
    50: '#e7df8f',
    500: '#d8d25e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d25e;
$custom-light: #e7df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d25e",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 94
  },
  "hsl": {
    "h": 57.049,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84604,
    "c": 0.13769,
    "h": 106.3
  },
  "luminance": 0.615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D25E

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

Preview Lab → · Contrast checker → · Palette generator →

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