#D5D148#D5D148

#D5D148 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.154 H 107.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D5D148
RGBrgb(213, 209, 72)
HSLhsl(58, 63%, 56%)
HSVhsv(58, 66%, 84%)
CMYKcmyk(0%, 1.9%, 66.2%, 16.5%)
CIE-LABlab(81.96, -14.83, 65.49)
CIE-LCHlch(81.96, 67.15, 102.76°)
OKLaboklab(83.93% -0.0469 0.1471)
OKLCHoklch(83.93% 0.154 107.7)
XYZxyz(51.4126, 60.2166, 15.0444)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D148 #484CD5
analogous
#D58A48 #D5D148 #92D548
triadic
#D5D148 #48D5D1 #D148D5
tetradic
#D5D148 #48D58A #484CD5 #D54892
square
#D5D148 #48D58A #484CD5 #D54892
split-complementary
#D5D148 #4892D5 #8A48D5
monochromatic
#84811E #B6B22A #D5D148 #E0DE7A #ECEAAC

Accessibility & contrast

On white

1.61
#D5D148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D5D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D148
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D148#FFFFFF#000000##000000
##D5D1481.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E4CE51
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d148;
/* rgb */ color: rgb(213, 209, 72);
/* oklch */ color: oklch(83.9% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d5d148',
    950: '#000000',
  },
}
SCSS
$custom: #d5d148;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d148",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 58.298,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83934,
    "c": 0.15435,
    "h": 107.7
  },
  "luminance": 0.60215
}

Semantic roles & 50–950 ramp

primary
#D5D148
secondary
#36398B
accent
#47E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D148

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

Preview Lab → · Contrast checker → · Palette generator →

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