#D2B94C#D2B94C

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

Color values

HEX#D2B94C
RGBrgb(210, 185, 76)
HSLhsl(49, 60%, 56%)
HSVhsv(49, 64%, 82%)
CMYKcmyk(0%, 11.9%, 63.8%, 17.6%)
CIE-LABlab(75.40, -3.61, 56.90)
CIE-LCHlch(75.40, 57.01, 93.63°)
OKLaboklab(78.68% -0.0143 0.1296)
OKLCHoklch(78.68% 0.13 96.3)
XYZxyz(45.2338, 48.9236, 13.8967)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B94C #4C65D2
analogous
#D2764C #D2B94C #A8D24C
triadic
#D2B94C #4CD2B9 #B94CD2
tetradic
#D2B94C #4CD276 #4C65D2 #D24CA8
square
#D2B94C #4CD276 #4C65D2 #D24CA8
split-complementary
#D2B94C #4CA8D2 #764CD2
monochromatic
#837021 #B49B2D #D2B94C #DECC7D #EBDFAE

Accessibility & contrast

On white

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

On black

10.78
#D2B94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B94C
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B94C#FFFFFF#000000##000000
##D2B94C1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b94c;
/* rgb */ color: rgb(210, 185, 76);
/* oklch */ color: oklch(78.7% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e3cd83',
    500: '#d2b94c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b94c;
$custom-light: #e3cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b94c",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 48.806,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.13039,
    "h": 96.3
  },
  "luminance": 0.48921
}

Semantic roles & 50–950 ramp

primary
#D2B94C
secondary
#A1ACD9
accent
#62E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B94C

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

Preview Lab → · Contrast checker → · Palette generator →

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