#D2B94E#D2B94E

#D2B94E is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.129 H 96.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D2B94E
RGBrgb(210, 185, 78)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11.9%, 62.9%, 17.6%)
CIE-LABlab(75.42, -3.48, 56.04)
CIE-LCHlch(75.42, 56.14, 93.56°)
OKLaboklab(78.7% -0.0137 0.1281)
OKLCHoklch(78.7% 0.129 96.1)
XYZxyz(45.3044, 48.9518, 14.2686)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B94E #4E67D2
analogous
#D2774E #D2B94E #A9D24E
triadic
#D2B94E #4ED2B9 #B94ED2
tetradic
#D2B94E #4ED277 #4E67D2 #D24EA9
square
#D2B94E #4ED277 #4E67D2 #D24EA9
split-complementary
#D2B94E #4EA9D2 #774ED2
monochromatic
#847122 #B59B2E #D2B94E #DECC7F #EBE0B0

Accessibility & contrast

On white

1.95
#D2B94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D2B94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B94E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B94E#FFFFFF#000000##000000
##D2B94E1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB542
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#E2ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b94e;
/* rgb */ color: rgb(210, 185, 78);
/* oklch */ color: oklch(78.7% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#e3cd84',
    500: '#d2b94e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b94e;
$custom-light: #e3cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b94e",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 48.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78697,
    "c": 0.12879,
    "h": 96.1
  },
  "luminance": 0.4895
}

Semantic roles & 50–950 ramp

primary
#D2B94E
secondary
#A3ADD9
accent
#63E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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