#D2B93F#D2B93F

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

Color values

HEX#D2B93F
RGBrgb(210, 185, 63)
HSLhsl(50, 62%, 54%)
HSVhsv(50, 70%, 82%)
CMYKcmyk(0%, 11.9%, 70%, 17.6%)
CIE-LABlab(75.30, -4.35, 62.19)
CIE-LCHlch(75.30, 62.34, 94.00°)
OKLaboklab(78.56% -0.0179 0.1387)
OKLCHoklch(78.56% 0.14 97.4)
XYZxyz(44.8267, 48.7607, 11.7523)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B93F #3F58D2
analogous
#D26F3F #D2B93F #A1D23F
triadic
#D2B93F #3FD2B9 #B93FD2
tetradic
#D2B93F #3FD26F #3F58D2 #D23FA1
square
#D2B93F #3FD26F #3F58D2 #D23FA1
split-complementary
#D2B93F #3FA1D2 #6F3FD2
monochromatic
#7A6A1D #AC9528 #D2B93F #DECB71 #E9DDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B93F#FFFFFF#000000##000000
##D2B93F1.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)
#CBB52D
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#E2ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b93f;
/* rgb */ color: rgb(210, 185, 63);
/* oklch */ color: oklch(78.6% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#e4cd7b',
    500: '#d2b93f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b93f;
$custom-light: #e4cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b93f",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 49.796,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78564,
    "c": 0.13984,
    "h": 97.4
  },
  "luminance": 0.48758
}

Semantic roles & 50–950 ramp

primary
#D2B93F
secondary
#97A2D6
accent
#5EE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B93F

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

Preview Lab → · Contrast checker → · Palette generator →

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