#D5D25D#D5D25D

#D5D25D is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.139 H 107.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D5D25D
RGBrgb(213, 210, 93)
HSLhsl(59, 59%, 60%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 1.4%, 56.3%, 16.5%)
CIE-LABlab(82.40, -13.97, 57.16)
CIE-LCHlch(82.40, 58.85, 103.73°)
OKLaboklab(84.34% -0.0422 0.1323)
OKLCHoklch(84.34% 0.139 107.7)
XYZxyz(52.4645, 61.0311, 19.3703)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D25D #5D60D5
analogous
#D5965D #D5D25D #9CD55D
triadic
#D5D25D #5DD5D2 #D25DD5
tetradic
#D5D25D #5DD596 #5D60D5 #D55D9C
square
#D5D25D #5DD596 #5D60D5 #D55D9C
split-complementary
#D5D25D #5D9CD5 #965DD5
monochromatic
#928F26 #C2BF32 #D5D25D #E2E08E #EEEDBE

Accessibility & contrast

On white

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

On black

13.21
#D5D25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D25D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D25D#FFFFFF#000000##000000
##D5D25D1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA51
Deuteranopia (green-blind)
#E4CF63
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d25d;
/* rgb */ color: rgb(213, 210, 93);
/* oklch */ color: oklch(84.3% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e4df8f',
    500: '#d5d25d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d25d;
$custom-light: #e4df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d25d",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 58.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.84341,
    "c": 0.1389,
    "h": 107.7
  },
  "luminance": 0.6103
}

Semantic roles & 50–950 ramp

primary
#D5D25D
secondary
#3F4197
accent
#4AE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D25D

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

Preview Lab → · Contrast checker → · Palette generator →

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