#D2B442#D2B442

#D2B442 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.134 H 94.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#D2B442
RGBrgb(210, 180, 66)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 69%, 82%)
CMYKcmyk(0%, 14.3%, 68.6%, 17.6%)
CIE-LABlab(74.02, -1.58, 59.69)
CIE-LCHlch(74.02, 59.71, 91.51°)
OKLaboklab(77.56% -0.0097 0.1339)
OKLCHoklch(77.56% 0.134 94.1)
XYZxyz(43.8852, 46.7399, 11.8634)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B442 #4260D2
analogous
#D26C42 #D2B442 #A8D242
triadic
#D2B442 #42D2B4 #B442D2
tetradic
#D2B442 #42D26C #4260D2 #D242A8
square
#D2B442 #42D26C #4260D2 #D242A8
split-complementary
#D2B442 #42A8D2 #6C42D2
monochromatic
#7C681E #AD9229 #D2B442 #DEC873 #EADBA5

Accessibility & contrast

On white

2.03
#D2B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#D2B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B442
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B442#FFFFFF#000000##000000
##D2B4421.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B133
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#E3A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b442;
/* rgb */ color: rgb(210, 180, 66);
/* oklch */ color: oklch(77.6% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#e4ca7c',
    500: '#d2b442',
    950: '#000000',
  },
}
SCSS
$custom: #d2b442;
$custom-light: #e4ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b442",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 47.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77559,
    "c": 0.13427,
    "h": 94.1
  },
  "luminance": 0.46738
}

Semantic roles & 50–950 ramp

primary
#D2B442
secondary
#99A6D7
accent
#65E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B442

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

Preview Lab → · Contrast checker → · Palette generator →

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