#D2B241#D2B241

#D2B241 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.134 H 93.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D2B241
RGBrgb(210, 178, 65)
HSLhsl(47, 62%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 15.2%, 69%, 17.6%)
CIE-LABlab(73.50, -0.58, 59.56)
CIE-LCHlch(73.50, 59.56, 90.56°)
OKLaboklab(77.14% -0.0069 0.1335)
OKLCHoklch(77.14% 0.134 93)
XYZxyz(43.4551, 45.9265, 11.5758)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B241 #4161D2
analogous
#D26A41 #D2B241 #A9D241
triadic
#D2B241 #41D2B2 #B241D2
tetradic
#D2B241 #41D26A #4161D2 #D241A9
square
#D2B241 #41D26A #4161D2 #D241A9
split-complementary
#D2B241 #41A9D2 #6A41D2
monochromatic
#7B671D #AD9029 #D2B241 #DEC672 #E9DAA4

Accessibility & contrast

On white

2.06
#D2B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#D2B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B241
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B241#FFFFFF#000000##000000
##D2B2411.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b241;
/* rgb */ color: rgb(210, 178, 65);
/* oklch */ color: oklch(77.1% 0.134 93.0);
Tailwind
colors: {
  custom: {
    50: '#e4c87c',
    500: '#d2b241',
    950: '#000000',
  },
}
SCSS
$custom: #d2b241;
$custom-light: #e4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b241",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 46.759,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.13365,
    "h": 93
  },
  "luminance": 0.45924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B241

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

Preview Lab → · Contrast checker → · Palette generator →

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