#D5B43C#D5B43C

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

Color values

HEX#D5B43C
RGBrgb(213, 180, 60)
HSLhsl(47, 65%, 54%)
HSVhsv(47, 72%, 84%)
CMYKcmyk(0%, 15.5%, 71.8%, 16.5%)
CIE-LABlab(74.26, -0.59, 62.42)
CIE-LCHlch(74.26, 62.43, 90.54°)
OKLaboklab(77.8% -0.0077 0.1385)
OKLCHoklch(77.8% 0.139 93.2)
XYZxyz(44.5798, 47.1175, 11.0206)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B43C #3C5DD5
analogous
#D5673C #D5B43C #A9D53C
triadic
#D5B43C #3CD5B4 #B43CD5
tetradic
#D5B43C #3CD567 #3C5DD5 #D53CA9
square
#D5B43C #3CD567 #3C5DD5 #D53CA9
split-complementary
#D5B43C #3CA9D5 #673CD5
monochromatic
#7C671B #AE9126 #D5B43C #E0C76E #EBDBA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B43C#FFFFFF#000000##000000
##D5B43C1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b43c;
/* rgb */ color: rgb(213, 180, 60);
/* oklch */ color: oklch(77.8% 0.139 93.2);
Tailwind
colors: {
  custom: {
    50: '#e6ca79',
    500: '#d5b43c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b43c;
$custom-light: #e6ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b43c",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 47.059,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77803,
    "c": 0.13874,
    "h": 93.2
  },
  "luminance": 0.47115
}

Semantic roles & 50–950 ramp

primary
#D5B43C
secondary
#96A4D7
accent
#64E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B43C

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

Preview Lab → · Contrast checker → · Palette generator →

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