#D2B043#D2B043

#D2B043 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.131 H 91.5°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D2B043
RGBrgb(210, 176, 67)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 68%, 82%)
CMYKcmyk(0%, 16.2%, 68.1%, 17.6%)
CIE-LABlab(73.00, 0.58, 58.21)
CIE-LCHlch(73.00, 58.21, 89.43°)
OKLaboklab(76.75% -0.0034 0.131)
OKLCHoklch(76.75% 0.131 91.5)
XYZxyz(43.1190, 45.1600, 11.7547)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B043 #4365D2
analogous
#D26943 #D2B043 #ADD243
triadic
#D2B043 #43D2B0 #B043D2
tetradic
#D2B043 #43D269 #4365D2 #D243AD
square
#D2B043 #43D269 #4365D2 #D243AD
split-complementary
#D2B043 #43ADD2 #6943D2
monochromatic
#7D661E #AE8F2A #D2B043 #DEC574 #EADAA6

Accessibility & contrast

On white

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

On black

10.03
#D2B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B043
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B043#FFFFFF#000000##000000
##D2B0431.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE35
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b043;
/* rgb */ color: rgb(210, 176, 67);
/* oklch */ color: oklch(76.8% 0.131 91.5);
Tailwind
colors: {
  custom: {
    50: '#e4c77d',
    500: '#d2b043',
    950: '#000000',
  },
}
SCSS
$custom: #d2b043;
$custom-light: #e4c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b043",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 45.734,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76752,
    "c": 0.131,
    "h": 91.5
  },
  "luminance": 0.45158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B043

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

Preview Lab → · Contrast checker → · Palette generator →

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