#D5D351#D5D351

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

Color values

HEX#D5D351
RGBrgb(213, 211, 81)
HSLhsl(59, 61%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 0.9%, 62%, 16.5%)
CIE-LABlab(82.56, -15.29, 62.51)
CIE-LCHlch(82.56, 64.35, 103.75°)
OKLaboklab(84.44% -0.0472 0.1421)
OKLCHoklch(84.44% 0.15 108.4)
XYZxyz(52.2217, 61.3303, 16.8700)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D351 #5153D5
analogous
#D59151 #D5D351 #95D551
triadic
#D5D351 #51D5D3 #D351D5
tetradic
#D5D351 #51D591 #5153D5 #D55195
square
#D5D351 #51D591 #5153D5 #D55195
split-complementary
#D5D351 #5195D5 #9151D5
monochromatic
#8A8921 #BCB92D #D5D351 #E1DF82 #EDECB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D351#FFFFFF#000000##000000
##D5D3511.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)
#E3CB41
Deuteranopia (green-blind)
#E5D059
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d351;
/* rgb */ color: rgb(213, 211, 81);
/* oklch */ color: oklch(84.4% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e5e088',
    500: '#d5d351',
    950: '#000000',
  },
}
SCSS
$custom: #d5d351;
$custom-light: #e5e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d351",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 59.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84435,
    "c": 0.14977,
    "h": 108.4
  },
  "luminance": 0.61329
}

Semantic roles & 50–950 ramp

primary
#D5D351
secondary
#3A3B90
accent
#46E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D351

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

Preview Lab → · Contrast checker → · Palette generator →

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