#D5D142#D5D142

#D5D142 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.158 H 107.8°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D5D142
RGBrgb(213, 209, 66)
HSLhsl(58, 64%, 55%)
HSVhsv(58, 69%, 84%)
CMYKcmyk(0%, 1.9%, 69%, 16.5%)
CIE-LABlab(81.92, -15.15, 67.72)
CIE-LCHlch(81.92, 69.40, 102.61°)
OKLaboklab(83.89% -0.0483 0.1508)
OKLCHoklch(83.89% 0.158 107.8)
XYZxyz(51.2263, 60.1421, 14.0634)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D142 #4246D5
analogous
#D58742 #D5D142 #90D542
triadic
#D5D142 #42D5D1 #D142D5
tetradic
#D5D142 #42D587 #4246D5 #D54290
square
#D5D142 #42D587 #4246D5 #D54290
split-complementary
#D5D142 #4290D5 #8742D5
monochromatic
#807D1C #B2AE28 #D5D142 #E0DD74 #EBE9A6

Accessibility & contrast

On white

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

On black

13.03
#D5D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D142
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D142#FFFFFF#000000##000000
##D5D1421.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d142;
/* rgb */ color: rgb(213, 209, 66);
/* oklch */ color: oklch(83.9% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5de7f',
    500: '#d5d142',
    950: '#000000',
  },
}
SCSS
$custom: #d5d142;
$custom-light: #e5de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d142",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 58.367,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83889,
    "c": 0.15835,
    "h": 107.8
  },
  "luminance": 0.6014
}

Semantic roles & 50–950 ramp

primary
#D5D142
secondary
#343687
accent
#46E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D142

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

Preview Lab → · Contrast checker → · Palette generator →

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