#D5B43E#D5B43E

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

Color values

HEX#D5B43E
RGBrgb(213, 180, 62)
HSLhsl(47, 64%, 54%)
HSVhsv(47, 71%, 84%)
CMYKcmyk(0%, 15.5%, 70.9%, 16.5%)
CIE-LABlab(74.28, -0.49, 61.65)
CIE-LCHlch(74.28, 61.66, 90.46°)
OKLaboklab(77.82% -0.0072 0.1373)
OKLCHoklch(77.82% 0.137 93)
XYZxyz(44.6337, 47.1390, 11.3043)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B43E #3E5FD5
analogous
#D5693E #D5B43E #ABD53E
triadic
#D5B43E #3ED5B4 #B43ED5
tetradic
#D5B43E #3ED569 #3E5FD5 #D53EAB
square
#D5B43E #3ED569 #3E5FD5 #D53EAB
split-complementary
#D5B43E #3EABD5 #693ED5
monochromatic
#7D681B #B09226 #D5B43E #E0C870 #EBDBA3

Accessibility & contrast

On white

2.01
#D5B43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#D5B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B43E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B43E#FFFFFF#000000##000000
##D5B43E1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b43e;
/* rgb */ color: rgb(213, 180, 62);
/* oklch */ color: oklch(77.8% 0.137 93.0);
Tailwind
colors: {
  custom: {
    50: '#e6ca7a',
    500: '#d5b43e',
    950: '#000000',
  },
}
SCSS
$custom: #d5b43e;
$custom-light: #e6ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b43e",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 46.887,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77818,
    "c": 0.13745,
    "h": 93
  },
  "luminance": 0.47136
}

Semantic roles & 50–950 ramp

primary
#D5B43E
secondary
#97A5D8
accent
#65E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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