#D3D152#D3D152

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

Color values

HEX#D3D152
RGBrgb(211, 209, 82)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 61%, 83%)
CMYKcmyk(0%, 0.9%, 61.1%, 17.3%)
CIE-LABlab(81.87, -15.06, 61.31)
CIE-LCHlch(81.87, 63.13, 103.80°)
OKLaboklab(83.85% -0.0463 0.1398)
OKLCHoklch(83.85% 0.147 108.3)
XYZxyz(51.1890, 60.0605, 16.8774)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D152 #5254D3
analogous
#D39152 #D3D152 #94D352
triadic
#D3D152 #52D3D1 #D152D3
tetradic
#D3D152 #52D391 #5254D3 #D35294
square
#D3D152 #52D391 #5254D3 #D35294
split-complementary
#D3D152 #5294D3 #9152D3
monochromatic
#888623 #B9B72F #D3D152 #DFDE83 #ECEBB4

Accessibility & contrast

On white

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

On black

13.01
#D3D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D152
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D152#FFFFFF#000000##000000
##D3D1521.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#E1C4B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d152;
/* rgb */ color: rgb(211, 209, 82);
/* oklch */ color: oklch(83.9% 0.147 108.3);
Tailwind
colors: {
  custom: {
    50: '#e3de88',
    500: '#d3d152',
    950: '#000000',
  },
}
SCSS
$custom: #d3d152;
$custom-light: #e3de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d152",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 59.07,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83852,
    "c": 0.14726,
    "h": 108.3
  },
  "luminance": 0.60059
}

Semantic roles & 50–950 ramp

primary
#D3D152
secondary
#3B3C8E
accent
#48E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D152

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

Preview Lab → · Contrast checker → · Palette generator →

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