#D5D845#D5D845

#D5D845 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.163 H 110.6°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D5D845
RGBrgb(213, 216, 69)
HSLhsl(61, 65%, 56%)
HSVhsv(61, 68%, 85%)
CMYKcmyk(1.4%, 0%, 68.1%, 15.3%)
CIE-LABlab(83.80, -18.46, 68.49)
CIE-LCHlch(83.80, 70.94, 105.08°)
OKLaboklab(85.4% -0.0573 0.1529)
OKLCHoklch(85.4% 0.163 110.6)
XYZxyz(53.0724, 63.6890, 15.1266)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D845 #4845D8
analogous
#D89145 #D5D845 #8CD845
triadic
#D5D845 #45D5D8 #D845D5
tetradic
#D5D845 #45D891 #4845D8 #D8458C
square
#D5D845 #45D891 #4845D8 #D8458C
split-complementary
#D5D845 #458CD8 #9145D8
monochromatic
#84861C #B6B927 #D5D845 #E0E378 #ECEDAA

Accessibility & contrast

On white

1.53
#D5D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D5D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D845
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D845#FFFFFF#000000##000000
##D5D8451.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#E4CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d845;
/* rgb */ color: rgb(213, 216, 69);
/* oklch */ color: oklch(85.4% 0.163 110.6);
Tailwind
colors: {
  custom: {
    50: '#e5e381',
    500: '#d5d845',
    950: '#000000',
  },
}
SCSS
$custom: #d5d845;
$custom-light: #e5e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d845",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 61.224,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85403,
    "c": 0.16331,
    "h": 110.6
  },
  "luminance": 0.63688
}

Semantic roles & 50–950 ramp

primary
#D5D845
secondary
#36348D
accent
#40E843
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D845

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

Preview Lab → · Contrast checker → · Palette generator →

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