#D3D04B#D3D04B

#D3D04B is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.152 H 108.0°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D3D04B
RGBrgb(211, 208, 75)
HSLhsl(59, 61%, 56%)
HSVhsv(59, 64%, 83%)
CMYKcmyk(0%, 1.4%, 64.5%, 17.3%)
CIE-LABlab(81.55, -14.99, 63.84)
CIE-LCHlch(81.55, 65.58, 103.22°)
OKLaboklab(83.58% -0.0469 0.1441)
OKLCHoklch(83.58% 0.152 108)
XYZxyz(50.6916, 59.4702, 15.4639)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D04B #4B4ED3
analogous
#D38C4B #D3D04B #92D34B
triadic
#D3D04B #4BD3D0 #D04BD3
tetradic
#D3D04B #4BD38C #4B4ED3 #D34B92
square
#D3D04B #4BD38C #4B4ED3 #D34B92
split-complementary
#D3D04B #4B92D3 #8C4BD3
monochromatic
#838120 #B5B22C #D3D04B #DFDD7C #EBEAAD

Accessibility & contrast

On white

1.63
#D3D04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D3D04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D04B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D04B#FFFFFF#000000##000000
##D3D04B1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C839
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#E2C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d04b;
/* rgb */ color: rgb(211, 208, 75);
/* oklch */ color: oklch(83.6% 0.152 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4de84',
    500: '#d3d04b',
    950: '#000000',
  },
}
SCSS
$custom: #d3d04b;
$custom-light: #e4de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d04b",
  "rgb": {
    "r": 211,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 58.676,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83578,
    "c": 0.15155,
    "h": 108
  },
  "luminance": 0.59469
}

Semantic roles & 50–950 ramp

primary
#D3D04B
secondary
#383A8A
accent
#47E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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