#D7D25D#D7D25D

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

Color values

HEX#D7D25D
RGBrgb(215, 210, 93)
HSLhsl(58, 60%, 60%)
HSVhsv(58, 57%, 84%)
CMYKcmyk(0%, 2.3%, 56.7%, 15.7%)
CIE-LABlab(82.56, -13.15, 57.39)
CIE-LCHlch(82.56, 58.88, 102.90°)
OKLaboklab(84.51% -0.04 0.1328)
OKLCHoklch(84.51% 0.139 106.7)
XYZxyz(53.0483, 61.3322, 19.3977)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D25D #5D62D7
analogous
#D7955D #D7D25D #9FD75D
triadic
#D7D25D #5DD7D2 #D25DD7
tetradic
#D7D25D #5DD795 #5D62D7 #D75D9F
square
#D7D25D #5DD795 #5D62D7 #D75D9F
split-complementary
#D7D25D #5D9FD7 #955DD7
monochromatic
#959025 #C6C031 #D7D25D #E3E08E #EFEDBF

Accessibility & contrast

On white

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

On black

13.27
#D7D25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D25D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D25D#FFFFFF#000000##000000
##D7D25D1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB51
Deuteranopia (green-blind)
#E4D063
Tritanopia (blue-blind)
#E5C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d25d;
/* rgb */ color: rgb(215, 210, 93);
/* oklch */ color: oklch(84.5% 0.139 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6df8f',
    500: '#d7d25d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d25d;
$custom-light: #e6df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d25d",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 57.541,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84508,
    "c": 0.13866,
    "h": 106.7
  },
  "luminance": 0.61331
}

Semantic roles & 50–950 ramp

primary
#D7D25D
secondary
#3E429A
accent
#24C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D25D

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

Preview Lab → · Contrast checker → · Palette generator →

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