#D3D151#D3D151

#D3D151 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.148 H 108.4°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D3D151
RGBrgb(211, 209, 81)
HSLhsl(59, 60%, 57%)
HSVhsv(59, 62%, 83%)
CMYKcmyk(0%, 0.9%, 61.6%, 17.3%)
CIE-LABlab(81.86, -15.12, 61.72)
CIE-LCHlch(81.86, 63.54, 103.77°)
OKLaboklab(83.84% -0.0466 0.1405)
OKLCHoklch(83.84% 0.148 108.4)
XYZxyz(51.1513, 60.0454, 16.6784)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D151 #5153D3
analogous
#D39051 #D3D151 #94D351
triadic
#D3D151 #51D3D1 #D151D3
tetradic
#D3D151 #51D390 #5153D3 #D35194
square
#D3D151 #51D390 #5153D3 #D35194
split-complementary
#D3D151 #5194D3 #9051D3
monochromatic
#878622 #B8B62F #D3D151 #DFDE82 #ECEBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D151#FFFFFF#000000##000000
##D3D1511.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)
#E1C941
Deuteranopia (green-blind)
#E3CE59
Tritanopia (blue-blind)
#E1C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d151;
/* rgb */ color: rgb(211, 209, 81);
/* oklch */ color: oklch(83.8% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3de87',
    500: '#d3d151',
    950: '#000000',
  },
}
SCSS
$custom: #d3d151;
$custom-light: #e3de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d151",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 59.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83843,
    "c": 0.14804,
    "h": 108.4
  },
  "luminance": 0.60044
}

Semantic roles & 50–950 ramp

primary
#D3D151
secondary
#3A3C8E
accent
#47E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D151

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

Preview Lab → · Contrast checker → · Palette generator →

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