#D3B042#D3B042

#D3B042 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.132 H 91.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#D3B042
RGBrgb(211, 176, 66)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 83%)
CMYKcmyk(0%, 16.6%, 68.7%, 17.3%)
CIE-LABlab(73.09, 0.96, 58.75)
CIE-LCHlch(73.09, 58.76, 89.07°)
OKLaboklab(76.84% -0.0025 0.1319)
OKLCHoklch(76.84% 0.132 91.1)
XYZxyz(43.3750, 45.2954, 11.6115)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B042 #4265D3
analogous
#D36842 #D3B042 #AED342
triadic
#D3B042 #42D3B0 #B042D3
tetradic
#D3B042 #42D368 #4265D3 #D342AE
square
#D3B042 #42D368 #4265D3 #D342AE
split-complementary
#D3B042 #42AED3 #6842D3
monochromatic
#7D661D #AF8F29 #D3B042 #DFC574 #EADAA5

Accessibility & contrast

On white

2.09
#D3B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#D3B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B042
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B042#FFFFFF#000000##000000
##D3B0421.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#CBB847
Tritanopia (blue-blind)
#E4A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3b042;
/* rgb */ color: rgb(211, 176, 66);
/* oklch */ color: oklch(76.8% 0.132 91.1);
Tailwind
colors: {
  custom: {
    50: '#e4c77c',
    500: '#d3b042',
    950: '#000000',
  },
}
SCSS
$custom: #d3b042;
$custom-light: #e4c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b042",
  "rgb": {
    "r": 211,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 45.517,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76842,
    "c": 0.13192,
    "h": 91.1
  },
  "luminance": 0.45293
}

Semantic roles & 50–950 ramp

primary
#D3B042
secondary
#9AA8D7
accent
#6AE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B042

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

Preview Lab → · Contrast checker → · Palette generator →

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