#D5B33A#D5B33A

#D5B33A is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.139 H 92.8°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D5B33A
RGBrgb(213, 179, 58)
HSLhsl(47, 65%, 53%)
HSVhsv(47, 73%, 84%)
CMYKcmyk(0%, 16%, 72.8%, 16.5%)
CIE-LABlab(73.99, -0.16, 62.92)
CIE-LCHlch(73.99, 62.93, 90.15°)
OKLaboklab(77.59% -0.0067 0.1392)
OKLCHoklch(77.59% 0.139 92.8)
XYZxyz(44.3268, 46.6944, 10.6803)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B33A #3A5CD5
analogous
#D5653A #D5B33A #A9D53A
triadic
#D5B33A #3AD5B3 #B33AD5
tetradic
#D5B33A #3AD565 #3A5CD5 #D53AA9
square
#D5B33A #3AD565 #3A5CD5 #D53AA9
split-complementary
#D5B33A #3AA9D5 #653AD5
monochromatic
#7A651A #AD8F25 #D5B33A #E0C66C #EBDA9F

Accessibility & contrast

On white

2.03
#D5B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D5B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B33A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B33A#FFFFFF#000000##000000
##D5B33A1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B027
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#E6A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b33a;
/* rgb */ color: rgb(213, 179, 58);
/* oklch */ color: oklch(77.6% 0.139 92.8);
Tailwind
colors: {
  custom: {
    50: '#e6c978',
    500: '#d5b33a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b33a;
$custom-light: #e6c978;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b33a",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 46.839,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77585,
    "c": 0.13937,
    "h": 92.8
  },
  "luminance": 0.46692
}

Semantic roles & 50–950 ramp

primary
#D5B33A
secondary
#94A3D7
accent
#65E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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