#D5B43F#D5B43F

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

Color values

HEX#D5B43F
RGBrgb(213, 180, 63)
HSLhsl(47, 64%, 54%)
HSVhsv(47, 70%, 84%)
CMYKcmyk(0%, 15.5%, 70.4%, 16.5%)
CIE-LABlab(74.29, -0.44, 61.26)
CIE-LCHlch(74.29, 61.26, 90.42°)
OKLaboklab(77.83% -0.007 0.1366)
OKLCHoklch(77.83% 0.137 92.9)
XYZxyz(44.6614, 47.1501, 11.4501)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B43F #3F60D5
analogous
#D5693F #D5B43F #ABD53F
triadic
#D5B43F #3FD5B4 #B43FD5
tetradic
#D5B43F #3FD569 #3F60D5 #D53FAB
square
#D5B43F #3FD569 #3F60D5 #D53FAB
split-complementary
#D5B43F #3FABD5 #693FD5
monochromatic
#7E681C #B09227 #D5B43F #E0C871 #EBDBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B43F#FFFFFF#000000##000000
##D5B43F1.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)
#C7B12E
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#E6A69C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b43f;
/* rgb */ color: rgb(213, 180, 63);
/* oklch */ color: oklch(77.8% 0.137 92.9);
Tailwind
colors: {
  custom: {
    50: '#e6ca7b',
    500: '#d5b43f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b43f;
$custom-light: #e6ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b43f",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 46.8,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77826,
    "c": 0.1368,
    "h": 92.9
  },
  "luminance": 0.47148
}

Semantic roles & 50–950 ramp

primary
#D5B43F
secondary
#98A6D8
accent
#65E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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