#D2B93A#D2B93A

#D2B93A is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.143 H 97.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D2B93A
RGBrgb(210, 185, 58)
HSLhsl(50, 63%, 53%)
HSVhsv(50, 72%, 82%)
CMYKcmyk(0%, 11.9%, 72.4%, 17.6%)
CIE-LABlab(75.27, -4.59, 64.07)
CIE-LCHlch(75.27, 64.24, 94.10°)
OKLaboklab(78.53% -0.0192 0.1418)
OKLCHoklch(78.53% 0.143 97.7)
XYZxyz(44.6932, 48.7073, 11.0495)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B93A #3A53D2
analogous
#D26D3A #D2B93A #9FD23A
triadic
#D2B93A #3AD2B9 #B93AD2
tetradic
#D2B93A #3AD26D #3A53D2 #D23A9F
square
#D2B93A #3AD26D #3A53D2 #D23A9F
split-complementary
#D2B93A #3A9FD2 #6D3AD2
monochromatic
#77671B #A89326 #D2B93A #DDCB6C #E9DC9E

Accessibility & contrast

On white

1.96
#D2B93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D2B93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B93A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B93A#FFFFFF#000000##000000
##D2B93A1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB525
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#E3ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b93a;
/* rgb */ color: rgb(210, 185, 58);
/* oklch */ color: oklch(78.5% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#e4cd78',
    500: '#d2b93a',
    950: '#000000',
  },
}
SCSS
$custom: #d2b93a;
$custom-light: #e4cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b93a",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 50.132,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78527,
    "c": 0.14305,
    "h": 97.7
  },
  "luminance": 0.48705
}

Semantic roles & 50–950 ramp

primary
#D2B93A
secondary
#939ED5
accent
#5DE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B93A

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

Preview Lab → · Contrast checker → · Palette generator →

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