#D2B841#D2B841

#D2B841 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.138 H 96.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D2B841
RGBrgb(210, 184, 65)
HSLhsl(49, 62%, 54%)
HSVhsv(49, 69%, 82%)
CMYKcmyk(0%, 12.4%, 69%, 17.6%)
CIE-LABlab(75.06, -3.72, 61.15)
CIE-LCHlch(75.06, 61.26, 93.48°)
OKLaboklab(78.37% -0.0159 0.1368)
OKLCHoklch(78.37% 0.138 96.6)
XYZxyz(44.6751, 48.3665, 11.9825)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B841 #415BD2
analogous
#D27041 #D2B841 #A4D241
triadic
#D2B841 #41D2B8 #B841D2
tetradic
#D2B841 #41D270 #415BD2 #D241A4
square
#D2B841 #41D270 #415BD2 #D241A4
split-complementary
#D2B841 #41A4D2 #7041D2
monochromatic
#7B6A1D #AD9529 #D2B841 #DECA72 #E9DDA4

Accessibility & contrast

On white

1.97
#D2B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D2B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B841
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B841#FFFFFF#000000##000000
##D2B8411.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b841;
/* rgb */ color: rgb(210, 184, 65);
/* oklch */ color: oklch(78.4% 0.138 96.6);
Tailwind
colors: {
  custom: {
    50: '#e3cd7c',
    500: '#d2b841',
    950: '#000000',
  },
}
SCSS
$custom: #d2b841;
$custom-light: #e3cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b841",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 49.241,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78374,
    "c": 0.13776,
    "h": 96.6
  },
  "luminance": 0.48364
}

Semantic roles & 50–950 ramp

primary
#D2B841
secondary
#98A4D6
accent
#60E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B841

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

Preview Lab → · Contrast checker → · Palette generator →

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