#D2B341#D2B341

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

Color values

HEX#D2B341
RGBrgb(210, 179, 65)
HSLhsl(47, 62%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 14.8%, 69%, 17.6%)
CIE-LABlab(73.76, -1.11, 59.83)
CIE-LCHlch(73.76, 59.84, 91.06°)
OKLaboklab(77.35% -0.0084 0.134)
OKLCHoklch(77.35% 0.134 93.6)
XYZxyz(43.6548, 46.3259, 11.6424)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B341 #4160D2
analogous
#D26B41 #D2B341 #A9D241
triadic
#D2B341 #41D2B3 #B341D2
tetradic
#D2B341 #41D26B #4160D2 #D241A9
square
#D2B341 #41D26B #4160D2 #D241A9
split-complementary
#D2B341 #41A9D2 #6B41D2
monochromatic
#7B671D #AD9129 #D2B341 #DEC772 #E9DBA4

Accessibility & contrast

On white

2.05
#D2B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D2B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B341
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B341#FFFFFF#000000##000000
##D2B3411.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B032
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#E3A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b341;
/* rgb */ color: rgb(210, 179, 65);
/* oklch */ color: oklch(77.3% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e4c97c',
    500: '#d2b341',
    950: '#000000',
  },
}
SCSS
$custom: #d2b341;
$custom-light: #e4c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b341",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 47.172,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.1343,
    "h": 93.6
  },
  "luminance": 0.46323
}

Semantic roles & 50–950 ramp

primary
#D2B341
secondary
#98A6D6
accent
#66E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B341

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

Preview Lab → · Contrast checker → · Palette generator →

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