#D5D262#D5D262

#D5D262 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.134 H 107.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D5D262
RGBrgb(213, 210, 98)
HSLhsl(58, 58%, 61%)
HSVhsv(58, 54%, 84%)
CMYKcmyk(0%, 1.4%, 54%, 16.5%)
CIE-LABlab(82.44, -13.58, 54.96)
CIE-LCHlch(82.44, 56.62, 103.88°)
OKLaboklab(84.4% -0.0405 0.1282)
OKLCHoklch(84.4% 0.134 107.6)
XYZxyz(52.6932, 61.1226, 20.5750)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D262 #6265D5
analogous
#D59862 #D5D262 #9ED562
triadic
#D5D262 #62D5D2 #D262D5
tetradic
#D5D262 #62D598 #6265D5 #D5629E
square
#D5D262 #62D598 #6265D5 #D5629E
split-complementary
#D5D262 #629ED5 #9862D5
monochromatic
#959228 #C5C135 #D5D262 #E2E092 #EFEEC3

Accessibility & contrast

On white

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

On black

13.22
#D5D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D262
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D262#FFFFFF#000000##000000
##D5D2621.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#E2C6B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d262;
/* rgb */ color: rgb(213, 210, 98);
/* oklch */ color: oklch(84.4% 0.134 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4df92',
    500: '#d5d262',
    950: '#000000',
  },
}
SCSS
$custom: #d5d262;
$custom-light: #e4df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d262",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 58.435,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84396,
    "c": 0.13445,
    "h": 107.6
  },
  "luminance": 0.61121
}

Semantic roles & 50–950 ramp

primary
#D5D262
secondary
#41449A
accent
#24C520
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D262

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

Preview Lab → · Contrast checker → · Palette generator →

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