#D5D147#D5D147

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

Color values

HEX#D5D147
RGBrgb(213, 209, 71)
HSLhsl(58, 63%, 56%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 1.9%, 66.7%, 16.5%)
CIE-LABlab(81.95, -14.89, 65.87)
CIE-LCHlch(81.95, 67.53, 102.73°)
OKLaboklab(83.93% -0.0471 0.1477)
OKLCHoklch(83.93% 0.155 107.7)
XYZxyz(51.3802, 60.2036, 14.8740)
Luminance0.6020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D147 #474BD5
analogous
#D58A47 #D5D147 #92D547
triadic
#D5D147 #47D5D1 #D147D5
tetradic
#D5D147 #47D58A #474BD5 #D54792
square
#D5D147 #47D58A #474BD5 #D54792
split-complementary
#D5D147 #4792D5 #8A47D5
monochromatic
#84811E #B5B129 #D5D147 #E0DD79 #ECEAAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D147#FFFFFF#000000##000000
##D5D1471.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)
#E2C933
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d147;
/* rgb */ color: rgb(213, 209, 71);
/* oklch */ color: oklch(83.9% 0.155 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d5d147',
    950: '#000000',
  },
}
SCSS
$custom: #d5d147;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d147",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 71
  },
  "hsl": {
    "h": 58.31,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83926,
    "c": 0.15504,
    "h": 107.7
  },
  "luminance": 0.60202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D147

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

Preview Lab → · Contrast checker → · Palette generator →

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