#D5D149#D5D149

#D5D149 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.05:1 contrast (WCAG AA passes).

Color values

HEX#D5D149
RGBrgb(213, 209, 73)
HSLhsl(58, 63%, 56%)
HSVhsv(58, 66%, 84%)
CMYKcmyk(0%, 1.9%, 65.7%, 16.5%)
CIE-LABlab(81.96, -14.77, 65.11)
CIE-LCHlch(81.96, 66.77, 102.78°)
OKLaboklab(83.94% -0.0466 0.1464)
OKLCHoklch(83.94% 0.154 107.7)
XYZxyz(51.4454, 60.2297, 15.2176)
Luminance0.6023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D149 #494DD5
analogous
#D58B49 #D5D149 #93D549
triadic
#D5D149 #49D5D1 #D149D5
tetradic
#D5D149 #49D58B #494DD5 #D54993
square
#D5D149 #49D58B #494DD5 #D54993
split-complementary
#D5D149 #4993D5 #8B49D5
monochromatic
#85821F #B7B32A #D5D149 #E0DE7B #ECEAAC

Accessibility & contrast

On white

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

On black

13.05
#D5D149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D149
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D149#FFFFFF#000000##000000
##D5D1491.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d149;
/* rgb */ color: rgb(213, 209, 73);
/* oklch */ color: oklch(83.9% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de83',
    500: '#d5d149',
    950: '#000000',
  },
}
SCSS
$custom: #d5d149;
$custom-light: #e5de83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d149",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 73
  },
  "hsl": {
    "h": 58.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83942,
    "c": 0.15365,
    "h": 107.7
  },
  "luminance": 0.60228
}

Semantic roles & 50–950 ramp

primary
#D5D149
secondary
#37398C
accent
#47E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D149

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

Preview Lab → · Contrast checker → · Palette generator →

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