#D2B643#D2B643

#D2B643 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.135 H 95.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D2B643
RGBrgb(210, 182, 67)
HSLhsl(48, 61%, 54%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.3%, 68.1%, 17.6%)
CIE-LABlab(74.55, -2.57, 59.82)
CIE-LCHlch(74.55, 59.87, 92.46°)
OKLaboklab(77.98% -0.0124 0.1344)
OKLCHoklch(77.98% 0.135 95.3)
XYZxyz(44.3216, 47.5651, 12.1556)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B643 #435FD2
analogous
#D26F43 #D2B643 #A6D243
triadic
#D2B643 #43D2B6 #B643D2
tetradic
#D2B643 #43D26F #435FD2 #D243A6
square
#D2B643 #43D26F #435FD2 #D243A6
split-complementary
#D2B643 #43A6D2 #6F43D2
monochromatic
#7D6A1E #AE942A #D2B643 #DEC974 #EADCA6

Accessibility & contrast

On white

2.00
#D2B643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#D2B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B643
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B643#FFFFFF#000000##000000
##D2B6431.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B234
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#E2A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b643;
/* rgb */ color: rgb(210, 182, 67);
/* oklch */ color: oklch(78.0% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#e3cb7d',
    500: '#d2b643',
    950: '#000000',
  },
}
SCSS
$custom: #d2b643;
$custom-light: #e3cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b643",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 48.252,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77978,
    "c": 0.13493,
    "h": 95.3
  },
  "luminance": 0.47563
}

Semantic roles & 50–950 ramp

primary
#D2B643
secondary
#9AA6D7
accent
#63E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B643

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

Preview Lab → · Contrast checker → · Palette generator →

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