#D9D262#D9D262

#D9D262 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.134 H 105.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D9D262
RGBrgb(217, 210, 98)
HSLhsl(56, 61%, 62%)
HSVhsv(56, 55%, 85%)
CMYKcmyk(0%, 3.2%, 54.8%, 14.9%)
CIE-LABlab(82.77, -11.95, 55.42)
CIE-LCHlch(82.77, 56.69, 102.17°)
OKLaboklab(84.73% -0.0361 0.1291)
OKLCHoklch(84.73% 0.134 105.6)
XYZxyz(53.8681, 61.7284, 20.6301)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D262 #6269D9
analogous
#D99762 #D9D262 #A4D962
triadic
#D9D262 #62D9D2 #D262D9
tetradic
#D9D262 #62D997 #6269D9 #D962A4
square
#D9D262 #62D997 #6269D9 #D962A4
split-complementary
#D9D262 #62A4D9 #9762D9
monochromatic
#9B9426 #CCC331 #D9D262 #E5E093 #F1EEC5

Accessibility & contrast

On white

1.57
#D9D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D9D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D262
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D262#FFFFFF#000000##000000
##D9D2621.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E5D068
Tritanopia (blue-blind)
#E7C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d262;
/* rgb */ color: rgb(217, 210, 98);
/* oklch */ color: oklch(84.7% 0.134 105.6);
Tailwind
colors: {
  custom: {
    50: '#e7df92',
    500: '#d9d262',
    950: '#000000',
  },
}
SCSS
$custom: #d9d262;
$custom-light: #e7df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d262",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 56.471,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84732,
    "c": 0.13405,
    "h": 105.6
  },
  "luminance": 0.61727
}

Semantic roles & 50–950 ramp

primary
#D9D262
secondary
#40469F
accent
#27C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D262

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

Preview Lab → · Contrast checker → · Palette generator →

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