#D5D247#D5D247

#D5D247 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.156 H 108.1°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D5D247
RGBrgb(213, 210, 71)
HSLhsl(59, 63%, 56%)
HSVhsv(59, 67%, 84%)
CMYKcmyk(0%, 1.4%, 66.7%, 16.5%)
CIE-LABlab(82.22, -15.38, 66.14)
CIE-LCHlch(82.22, 67.91, 103.09°)
OKLaboklab(84.14% -0.0485 0.1483)
OKLCHoklch(84.14% 0.156 108.1)
XYZxyz(51.6263, 60.6959, 14.9560)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D247 #474AD5
analogous
#D58B47 #D5D247 #91D547
triadic
#D5D247 #47D5D2 #D247D5
tetradic
#D5D247 #47D58B #474AD5 #D54791
square
#D5D247 #47D58B #474AD5 #D54791
split-complementary
#D5D247 #4791D5 #8B47D5
monochromatic
#84811E #B5B229 #D5D247 #E0DE79 #ECEAAB

Accessibility & contrast

On white

1.60
#D5D247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D5D247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D247
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D247#FFFFFF#000000##000000
##D5D2471.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA33
Deuteranopia (green-blind)
#E5CF50
Tritanopia (blue-blind)
#E4C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d247;
/* rgb */ color: rgb(213, 210, 71);
/* oklch */ color: oklch(84.1% 0.156 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5df82',
    500: '#d5d247',
    950: '#000000',
  },
}
SCSS
$custom: #d5d247;
$custom-light: #e5df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d247",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 58.732,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84139,
    "c": 0.15602,
    "h": 108.1
  },
  "luminance": 0.60694
}

Semantic roles & 50–950 ramp

primary
#D5D247
secondary
#36388A
accent
#45E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D247

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

Preview Lab → · Contrast checker → · Palette generator →

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