#D5D348#D5D348

#D5D348 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.156 H 108.5°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D5D348
RGBrgb(213, 211, 72)
HSLhsl(59, 63%, 56%)
HSVhsv(59, 66%, 84%)
CMYKcmyk(0%, 0.9%, 66.2%, 16.5%)
CIE-LABlab(82.49, -15.83, 66.04)
CIE-LCHlch(82.49, 67.91, 103.48°)
OKLaboklab(84.36% -0.0497 0.1482)
OKLCHoklch(84.36% 0.156 108.5)
XYZxyz(51.9063, 61.2041, 15.2090)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D348 #484AD5
analogous
#D58C48 #D5D348 #90D548
triadic
#D5D348 #48D5D3 #D348D5
tetradic
#D5D348 #48D58C #484AD5 #D54890
square
#D5D348 #48D58C #484AD5 #D54890
split-complementary
#D5D348 #4890D5 #8C48D5
monochromatic
#84831E #B6B42A #D5D348 #E0DF7A #ECEBAC

Accessibility & contrast

On white

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

On black

13.24
#D5D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D348
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D348#FFFFFF#000000##000000
##D5D3481.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB34
Deuteranopia (green-blind)
#E6D051
Tritanopia (blue-blind)
#E4C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d348;
/* rgb */ color: rgb(213, 211, 72);
/* oklch */ color: oklch(84.4% 0.156 108.5);
Tailwind
colors: {
  custom: {
    50: '#e5e082',
    500: '#d5d348',
    950: '#000000',
  },
}
SCSS
$custom: #d5d348;
$custom-light: #e5e082;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d348",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 59.149,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84359,
    "c": 0.15632,
    "h": 108.5
  },
  "luminance": 0.61203
}

Semantic roles & 50–950 ramp

primary
#D5D348
secondary
#36378B
accent
#44E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D348

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

Preview Lab → · Contrast checker → · Palette generator →

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