#D3D158#D3D158

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

Color values

HEX#D3D158
RGBrgb(211, 209, 88)
HSLhsl(59, 58%, 59%)
HSVhsv(59, 58%, 83%)
CMYKcmyk(0%, 0.9%, 58.3%, 17.3%)
CIE-LABlab(81.92, -14.65, 58.80)
CIE-LCHlch(81.92, 60.59, 103.99°)
OKLaboklab(83.91% -0.0445 0.1353)
OKLCHoklch(83.91% 0.142 108.2)
XYZxyz(51.4274, 60.1558, 18.1328)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D158 #585AD3
analogous
#D39358 #D3D158 #97D358
triadic
#D3D158 #58D3D1 #D158D3
tetradic
#D3D158 #58D393 #585AD3 #D35897
square
#D3D158 #58D393 #585AD3 #D35897
split-complementary
#D3D158 #5897D3 #9358D3
monochromatic
#8C8A25 #BCBA32 #D3D158 #E0DE88 #EDECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D158#FFFFFF#000000##000000
##D3D1581.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)
#E1C94B
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#E1C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d158;
/* rgb */ color: rgb(211, 209, 88);
/* oklch */ color: oklch(83.9% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#e3de8c',
    500: '#d3d158',
    950: '#000000',
  },
}
SCSS
$custom: #d3d158;
$custom-light: #e3de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d158",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 59.024,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8391,
    "c": 0.1424,
    "h": 108.2
  },
  "luminance": 0.60154
}

Semantic roles & 50–950 ramp

primary
#D3D158
secondary
#3D3F92
accent
#49E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D158

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

Preview Lab → · Contrast checker → · Palette generator →

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