#D5D843#D5D843

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

Color values

HEX#D5D843
RGBrgb(213, 216, 67)
HSLhsl(61, 66%, 55%)
HSVhsv(61, 69%, 85%)
CMYKcmyk(1.4%, 0%, 69%, 15.3%)
CIE-LABlab(83.79, -18.56, 69.21)
CIE-LCHlch(83.79, 71.65, 105.01°)
OKLaboklab(85.39% -0.0578 0.1541)
OKLCHoklch(85.39% 0.165 110.6)
XYZxyz(53.0113, 63.6645, 14.8051)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D843 #4643D8
analogous
#D89043 #D5D843 #8AD843
triadic
#D5D843 #43D5D8 #D843D5
tetradic
#D5D843 #43D890 #4643D8 #D8438A
square
#D5D843 #43D890 #4643D8 #D8438A
split-complementary
#D5D843 #438AD8 #9043D8
monochromatic
#83851C #B5B826 #D5D843 #E0E376 #ECEDA8

Accessibility & contrast

On white

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

On black

13.73
#D5D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D843
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D843#FFFFFF#000000##000000
##D5D8431.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d843;
/* rgb */ color: rgb(213, 216, 67);
/* oklch */ color: oklch(85.4% 0.165 110.6);
Tailwind
colors: {
  custom: {
    50: '#e5e380',
    500: '#d5d843',
    950: '#000000',
  },
}
SCSS
$custom: #d5d843;
$custom-light: #e5e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d843",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 61.208,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85389,
    "c": 0.16458,
    "h": 110.6
  },
  "luminance": 0.63663
}

Semantic roles & 50–950 ramp

primary
#D5D843
secondary
#35348C
accent
#3FE943
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D843

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

Preview Lab → · Contrast checker → · Palette generator →

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