#D5D362#D5D362

#D5D362 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.136 H 108.0°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D5D362
RGBrgb(213, 211, 98)
HSLhsl(59, 58%, 61%)
HSVhsv(59, 54%, 84%)
CMYKcmyk(0%, 0.9%, 54%, 16.5%)
CIE-LABlab(82.71, -14.08, 55.27)
CIE-LCHlch(82.71, 57.03, 104.30°)
OKLaboklab(84.61% -0.042 0.1288)
OKLCHoklch(84.61% 0.136 108)
XYZxyz(52.9409, 61.6179, 20.6576)
Luminance0.6162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D362 #6264D5
analogous
#D59962 #D5D362 #9DD562
triadic
#D5D362 #62D5D3 #D362D5
tetradic
#D5D362 #62D599 #6264D5 #D5629D
square
#D5D362 #62D599 #6264D5 #D5629D
split-complementary
#D5D362 #629DD5 #9962D5
monochromatic
#959328 #C5C335 #D5D362 #E2E192 #EFEEC3

Accessibility & contrast

On white

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

On black

13.32
#D5D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D362
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D362#FFFFFF#000000##000000
##D5D3621.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d362;
/* rgb */ color: rgb(213, 211, 98);
/* oklch */ color: oklch(84.6% 0.136 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4e092',
    500: '#d5d362',
    950: '#000000',
  },
}
SCSS
$custom: #d5d362;
$custom-light: #e4e092;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d362",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 58.957,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84607,
    "c": 0.13551,
    "h": 108
  },
  "luminance": 0.61617
}

Semantic roles & 50–950 ramp

primary
#D5D362
secondary
#41439A
accent
#23C520
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D362

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

Preview Lab → · Contrast checker → · Palette generator →

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