#D5B43A#D5B43A

#D5B43A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.8% C 0.140 H 93.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D5B43A
RGBrgb(213, 180, 58)
HSLhsl(47, 65%, 53%)
HSVhsv(47, 73%, 84%)
CMYKcmyk(0%, 15.5%, 72.8%, 16.5%)
CIE-LABlab(74.25, -0.69, 63.18)
CIE-LCHlch(74.25, 63.18, 90.62°)
OKLaboklab(77.79% -0.0082 0.1398)
OKLCHoklch(77.79% 0.14 93.4)
XYZxyz(44.5279, 47.0967, 10.7474)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B43A #3A5BD5
analogous
#D5663A #D5B43A #A8D53A
triadic
#D5B43A #3AD5B4 #B43AD5
tetradic
#D5B43A #3AD566 #3A5BD5 #D53AA8
square
#D5B43A #3AD566 #3A5BD5 #D53AA8
split-complementary
#D5B43A #3AA8D5 #663AD5
monochromatic
#7A661A #AD9025 #D5B43A #E0C76C #EBDA9F

Accessibility & contrast

On white

2.02
#D5B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D5B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B43A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B43A#FFFFFF#000000##000000
##D5B43A1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B127
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#E6A69C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b43a;
/* rgb */ color: rgb(213, 180, 58);
/* oklch */ color: oklch(77.8% 0.140 93.4);
Tailwind
colors: {
  custom: {
    50: '#e6ca78',
    500: '#d5b43a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b43a;
$custom-light: #e6ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b43a",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 47.226,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.13999,
    "h": 93.4
  },
  "luminance": 0.47094
}

Semantic roles & 50–950 ramp

primary
#D5B43A
secondary
#94A2D7
accent
#64E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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