#D2B642#D2B642

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

Color values

HEX#D2B642
RGBrgb(210, 182, 66)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 69%, 82%)
CMYKcmyk(0%, 13.3%, 68.6%, 17.6%)
CIE-LABlab(74.54, -2.63, 60.22)
CIE-LCHlch(74.54, 60.28, 92.50°)
OKLaboklab(77.97% -0.0127 0.135)
OKLCHoklch(77.97% 0.136 95.4)
XYZxyz(44.2918, 47.5532, 11.9989)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B642 #425ED2
analogous
#D26E42 #D2B642 #A6D242
triadic
#D2B642 #42D2B6 #B642D2
tetradic
#D2B642 #42D26E #425ED2 #D242A6
square
#D2B642 #42D26E #425ED2 #D242A6
split-complementary
#D2B642 #42A6D2 #6E42D2
monochromatic
#7C6A1E #AD9429 #D2B642 #DEC973 #EADCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B642#FFFFFF#000000##000000
##D2B6421.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)
#C8B232
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#E2A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b642;
/* rgb */ color: rgb(210, 182, 66);
/* oklch */ color: oklch(78.0% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#e3cb7d',
    500: '#d2b642',
    950: '#000000',
  },
}
SCSS
$custom: #d2b642;
$custom-light: #e3cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b642",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 48.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7797,
    "c": 0.13563,
    "h": 95.4
  },
  "luminance": 0.47551
}

Semantic roles & 50–950 ramp

primary
#D2B642
secondary
#99A5D7
accent
#63E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B642

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

Preview Lab → · Contrast checker → · Palette generator →

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