#D2B64E#D2B64E

#D2B64E is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.127 H 94.2°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D2B64E
RGBrgb(210, 182, 78)
HSLhsl(47, 59%, 56%)
HSVhsv(47, 63%, 82%)
CMYKcmyk(0%, 13.3%, 62.9%, 17.6%)
CIE-LABlab(74.64, -1.91, 55.19)
CIE-LCHlch(74.64, 55.22, 91.99°)
OKLaboklab(78.08% -0.0092 0.1263)
OKLCHoklch(78.08% 0.127 94.2)
XYZxyz(44.6835, 47.7099, 14.0616)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B64E #4E6AD2
analogous
#D2744E #D2B64E #ACD24E
triadic
#D2B64E #4ED2B6 #B64ED2
tetradic
#D2B64E #4ED274 #4E6AD2 #D24EAC
square
#D2B64E #4ED274 #4E6AD2 #D24EAC
split-complementary
#D2B64E #4EACD2 #744ED2
monochromatic
#846F22 #B5982E #D2B64E #DECA7F #EBDEB0

Accessibility & contrast

On white

1.99
#D2B64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D2B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B64E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B64E#FFFFFF#000000##000000
##D2B64E1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#E2A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b64e;
/* rgb */ color: rgb(210, 182, 78);
/* oklch */ color: oklch(78.1% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#e3cb84',
    500: '#d2b64e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b64e;
$custom-light: #e3cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b64e",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 47.273,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7808,
    "c": 0.12659,
    "h": 94.2
  },
  "luminance": 0.47708
}

Semantic roles & 50–950 ramp

primary
#D2B64E
secondary
#A3AED9
accent
#67E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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