#D5D046#D5D046

#D5D046 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.155 H 107.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D5D046
RGBrgb(213, 208, 70)
HSLhsl(58, 63%, 55%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 2.3%, 67.1%, 16.5%)
CIE-LABlab(81.68, -14.44, 65.98)
CIE-LCHlch(81.68, 67.54, 102.35°)
OKLaboklab(83.71% -0.046 0.1478)
OKLCHoklch(83.71% 0.155 107.3)
XYZxyz(51.1038, 59.7018, 14.6248)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D046 #464BD5
analogous
#D58846 #D5D046 #92D546
triadic
#D5D046 #46D5D0 #D046D5
tetradic
#D5D046 #46D588 #464BD5 #D54692
square
#D5D046 #46D588 #464BD5 #D54692
split-complementary
#D5D046 #4692D5 #8846D5
monochromatic
#837F1E #B5B029 #D5D046 #E0DD78 #ECE9AA

Accessibility & contrast

On white

1.62
#D5D046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D5D046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D046
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D046#FFFFFF#000000##000000
##D5D0461.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C832
Deuteranopia (green-blind)
#E4CD4F
Tritanopia (blue-blind)
#E4C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d046;
/* rgb */ color: rgb(213, 208, 70);
/* oklch */ color: oklch(83.7% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5de81',
    500: '#d5d046',
    950: '#000000',
  },
}
SCSS
$custom: #d5d046;
$custom-light: #e5de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d046",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 70
  },
  "hsl": {
    "h": 57.902,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83707,
    "c": 0.15476,
    "h": 107.3
  },
  "luminance": 0.597
}

Semantic roles & 50–950 ramp

primary
#D5D046
secondary
#35388A
accent
#48E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D046

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

Preview Lab → · Contrast checker → · Palette generator →

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