#D2B43E#D2B43E

#D2B43E is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.137 H 94.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D2B43E
RGBrgb(210, 180, 62)
HSLhsl(48, 62%, 53%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 14.3%, 70.5%, 17.6%)
CIE-LABlab(73.99, -1.79, 61.27)
CIE-LCHlch(73.99, 61.30, 91.67°)
OKLaboklab(77.53% -0.0107 0.1366)
OKLCHoklch(77.53% 0.137 94.5)
XYZxyz(43.7713, 46.6944, 11.2639)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B43E #3E5CD2
analogous
#D26A3E #D2B43E #A6D23E
triadic
#D2B43E #3ED2B4 #B43ED2
tetradic
#D2B43E #3ED26A #3E5CD2 #D23EA6
square
#D2B43E #3ED26A #3E5CD2 #D23EA6
split-complementary
#D2B43E #3EA6D2 #6A3ED2
monochromatic
#79661C #AB9028 #D2B43E #DEC770 #E9DBA1

Accessibility & contrast

On white

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

On black

10.34
#D2B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B43E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B43E#FFFFFF#000000##000000
##D2B43E1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12D
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#E3A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b43e;
/* rgb */ color: rgb(210, 180, 62);
/* oklch */ color: oklch(77.5% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#e4ca7a',
    500: '#d2b43e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b43e;
$custom-light: #e4ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b43e",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 47.838,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77527,
    "c": 0.13699,
    "h": 94.5
  },
  "luminance": 0.46692
}

Semantic roles & 50–950 ramp

primary
#D2B43E
secondary
#96A3D6
accent
#64E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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