#D5B93B#D5B93B

#D5B93B is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.143 H 96.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D5B93B
RGBrgb(213, 185, 59)
HSLhsl(49, 65%, 53%)
HSVhsv(49, 72%, 84%)
CMYKcmyk(0%, 13.1%, 72.3%, 16.5%)
CIE-LABlab(75.55, -3.25, 64.07)
CIE-LCHlch(75.55, 64.15, 92.91°)
OKLaboklab(78.82% -0.0154 0.1418)
OKLCHoklch(78.82% 0.143 96.2)
XYZxyz(45.5813, 49.1622, 11.2252)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B93B #3B57D5
analogous
#D56C3B #D5B93B #A4D53B
triadic
#D5B93B #3BD5B9 #B93BD5
tetradic
#D5B93B #3BD56C #3B57D5 #D53BA4
square
#D5B93B #3BD56C #3B57D5 #D53BA4
split-complementary
#D5B93B #3BA4D5 #6C3BD5
monochromatic
#7B6A1A #AE9525 #D5B93B #E0CB6D #EBDDA0

Accessibility & contrast

On white

1.94
#D5B93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D5B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B93B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B93B#FFFFFF#000000##000000
##D5B93B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB527
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#E6ABA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b93b;
/* rgb */ color: rgb(213, 185, 59);
/* oklch */ color: oklch(78.8% 0.143 96.2);
Tailwind
colors: {
  custom: {
    50: '#e6cd79',
    500: '#d5b93b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b93b;
$custom-light: #e6cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b93b",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 49.091,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78819,
    "c": 0.14267,
    "h": 96.2
  },
  "luminance": 0.4916
}

Semantic roles & 50–950 ramp

primary
#D5B93B
secondary
#95A1D7
accent
#5FE840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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