#D2B93E#D2B93E

#D2B93E is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.141 H 97.4°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D2B93E
RGBrgb(210, 185, 62)
HSLhsl(50, 62%, 53%)
HSVhsv(50, 70%, 82%)
CMYKcmyk(0%, 11.9%, 70.5%, 17.6%)
CIE-LABlab(75.30, -4.40, 62.58)
CIE-LCHlch(75.30, 62.73, 94.02°)
OKLaboklab(78.56% -0.0182 0.1393)
OKLCHoklch(78.56% 0.141 97.4)
XYZxyz(44.7990, 48.7496, 11.6064)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B93E #3E57D2
analogous
#D26F3E #D2B93E #A1D23E
triadic
#D2B93E #3ED2B9 #B93ED2
tetradic
#D2B93E #3ED26F #3E57D2 #D23EA1
square
#D2B93E #3ED26F #3E57D2 #D23EA1
split-complementary
#D2B93E #3EA1D2 #6F3ED2
monochromatic
#796A1C #AB9528 #D2B93E #DECB70 #E9DDA1

Accessibility & contrast

On white

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

On black

10.75
#D2B93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B93E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B93E#FFFFFF#000000##000000
##D2B93E1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52C
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#E2ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b93e;
/* rgb */ color: rgb(210, 185, 62);
/* oklch */ color: oklch(78.6% 0.141 97.4);
Tailwind
colors: {
  custom: {
    50: '#e4cd7b',
    500: '#d2b93e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b93e;
$custom-light: #e4cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b93e",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 62
  },
  "hsl": {
    "h": 49.865,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78557,
    "c": 0.14051,
    "h": 97.4
  },
  "luminance": 0.48747
}

Semantic roles & 50–950 ramp

primary
#D2B93E
secondary
#96A1D6
accent
#5EE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B93E

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

Preview Lab → · Contrast checker → · Palette generator →

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