#D2B041#D2B041

#D2B041 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.132 H 91.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D2B041
RGBrgb(210, 176, 65)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 16.2%, 69%, 17.6%)
CIE-LABlab(72.98, 0.47, 59.03)
CIE-LCHlch(72.98, 59.03, 89.54°)
OKLaboklab(76.73% -0.0039 0.1324)
OKLCHoklch(76.73% 0.132 91.7)
XYZxyz(43.0601, 45.1365, 11.4442)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B041 #4163D2
analogous
#D26841 #D2B041 #ACD241
triadic
#D2B041 #41D2B0 #B041D2
tetradic
#D2B041 #41D268 #4163D2 #D241AC
square
#D2B041 #41D268 #4163D2 #D241AC
split-complementary
#D2B041 #41ACD2 #6841D2
monochromatic
#7B651D #AD8E29 #D2B041 #DEC572 #E9D9A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B041#FFFFFF#000000##000000
##D2B0411.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)
#C3AD32
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b041;
/* rgb */ color: rgb(210, 176, 65);
/* oklch */ color: oklch(76.7% 0.132 91.7);
Tailwind
colors: {
  custom: {
    50: '#e4c77b',
    500: '#d2b041',
    950: '#000000',
  },
}
SCSS
$custom: #d2b041;
$custom-light: #e4c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b041",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 45.931,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76734,
    "c": 0.13241,
    "h": 91.7
  },
  "luminance": 0.45134
}

Semantic roles & 50–950 ramp

primary
#D2B041
secondary
#98A7D6
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B041

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

Preview Lab → · Contrast checker → · Palette generator →

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