#D3B442#D3B442

#D3B442 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.134 H 93.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D3B442
RGBrgb(211, 180, 66)
HSLhsl(47, 62%, 54%)
HSVhsv(47, 69%, 83%)
CMYKcmyk(0%, 14.7%, 68.7%, 17.3%)
CIE-LABlab(74.12, -1.15, 59.81)
CIE-LCHlch(74.12, 59.83, 91.10°)
OKLaboklab(77.66% -0.0085 0.1342)
OKLCHoklch(77.66% 0.134 93.6)
XYZxyz(44.1708, 46.8872, 11.8768)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B442 #4261D3
analogous
#D36B42 #D3B442 #AAD342
triadic
#D3B442 #42D3B4 #B442D3
tetradic
#D3B442 #42D36B #4261D3 #D342AA
square
#D3B442 #42D36B #4261D3 #D342AA
split-complementary
#D3B442 #42AAD3 #6B42D3
monochromatic
#7D691D #AF9229 #D3B442 #DFC874 #EADBA5

Accessibility & contrast

On white

2.02
#D3B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#D3B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B442
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B442#FFFFFF#000000##000000
##D3B4421.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#E4A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b442;
/* rgb */ color: rgb(211, 180, 66);
/* oklch */ color: oklch(77.7% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e4ca7c',
    500: '#d3b442',
    950: '#000000',
  },
}
SCSS
$custom: #d3b442;
$custom-light: #e4ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b442",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 47.172,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77656,
    "c": 0.13442,
    "h": 93.6
  },
  "luminance": 0.46885
}

Semantic roles & 50–950 ramp

primary
#D3B442
secondary
#9AA7D7
accent
#65E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B442

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

Preview Lab → · Contrast checker → · Palette generator →

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