#D3D51F#D3D51F

#D3D51F is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.179 H 110.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D3D51F
RGBrgb(211, 213, 31)
HSLhsl(61, 75%, 48%)
HSVhsv(61, 85%, 84%)
CMYKcmyk(0.9%, 0%, 85.4%, 16.5%)
CIE-LABlab(82.67, -19.23, 78.42)
CIE-LCHlch(82.67, 80.75, 103.78°)
OKLaboklab(84.4% -0.0623 0.1677)
OKLCHoklch(84.4% 0.179 110.4)
XYZxyz(50.9075, 61.5378, 10.4924)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D51F #211FD5
analogous
#D57C1F #D3D51F #78D51F
triadic
#D3D51F #1FD3D5 #D51FD3
tetradic
#D3D51F #1FD57C #211FD5 #D51F78
square
#D3D51F #1FD57C #211FD5 #D51F78
split-complementary
#D3D51F #1F78D5 #7C1FD5
monochromatic
#696A0F #9EA017 #D3D51F #E3E54C #ECED82

Accessibility & contrast

On white

1.58
#D3D51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D3D51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D51F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D51F#FFFFFF#000000##000000
##D3D51F1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CB00
Deuteranopia (green-blind)
#E8D034
Tritanopia (blue-blind)
#E3C7B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d51f;
/* rgb */ color: rgb(211, 213, 31);
/* oklch */ color: oklch(84.4% 0.179 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e171',
    500: '#d3d51f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d51f;
$custom-light: #e5e171;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d51f",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 31
  },
  "hsl": {
    "h": 60.659,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.844,
    "c": 0.17893,
    "h": 110.4
  },
  "luminance": 0.61536
}

Semantic roles & 50–950 ramp

primary
#D3D51F
secondary
#252474
accent
#37F139
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D3D51F

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

Preview Lab → · Contrast checker → · Palette generator →

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