#D8D250#D8D250

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

Color values

HEX#D8D250
RGBrgb(216, 210, 80)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 63%, 85%)
CMYKcmyk(0%, 2.8%, 63%, 15.3%)
CIE-LABlab(82.53, -13.61, 62.96)
CIE-LCHlch(82.53, 64.41, 102.20°)
OKLaboklab(84.47% -0.0428 0.1429)
OKLCHoklch(84.47% 0.149 106.7)
XYZxyz(52.8153, 61.2730, 16.6326)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D250 #5056D8
analogous
#D88E50 #D8D250 #9AD850
triadic
#D8D250 #50D8D2 #D250D8
tetradic
#D8D250 #50D88E #5056D8 #D8509A
square
#D8D250 #50D88E #5056D8 #D8509A
split-complementary
#D8D250 #509AD8 #8E50D8
monochromatic
#8E8920 #C0B92B #D8D250 #E3DF82 #EEECB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D250#FFFFFF#000000##000000
##D8D2501.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)
#E3CA40
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#E7C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d250;
/* rgb */ color: rgb(216, 210, 80);
/* oklch */ color: oklch(84.5% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e7df87',
    500: '#d8d250',
    950: '#000000',
  },
}
SCSS
$custom: #d8d250;
$custom-light: #e7df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d250",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 57.353,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84467,
    "c": 0.14912,
    "h": 106.7
  },
  "luminance": 0.61271
}

Semantic roles & 50–950 ramp

primary
#D8D250
secondary
#393D94
accent
#49E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D250

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

Preview Lab → · Contrast checker → · Palette generator →

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