#D5B843#D5B843

#D5B843 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.137 H 95.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D5B843
RGBrgb(213, 184, 67)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 69%, 84%)
CMYKcmyk(0%, 13.6%, 68.5%, 16.5%)
CIE-LABlab(75.35, -2.33, 60.73)
CIE-LCHlch(75.35, 60.77, 92.20°)
OKLaboklab(78.68% -0.0119 0.1362)
OKLCHoklch(78.68% 0.137 95)
XYZxyz(45.5964, 48.8348, 12.3335)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B843 #4360D5
analogous
#D56F43 #D5B843 #A9D543
triadic
#D5B843 #43D5B8 #B843D5
tetradic
#D5B843 #43D56F #4360D5 #D543A9
square
#D5B843 #43D56F #4360D5 #D543A9
split-complementary
#D5B843 #43A9D5 #6F43D5
monochromatic
#816D1D #B39728 #D5B843 #E0CB75 #EBDEA7

Accessibility & contrast

On white

1.95
#D5B843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D5B843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B843
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B843#FFFFFF#000000##000000
##D5B8431.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB433
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#E6AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b843;
/* rgb */ color: rgb(213, 184, 67);
/* oklch */ color: oklch(78.7% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#e6cd7d',
    500: '#d5b843',
    950: '#000000',
  },
}
SCSS
$custom: #d5b843;
$custom-light: #e6cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b843",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 48.082,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78675,
    "c": 0.13671,
    "h": 95
  },
  "luminance": 0.48832
}

Semantic roles & 50–950 ramp

primary
#D5B843
secondary
#9BA7D9
accent
#62E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B843

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

Preview Lab → · Contrast checker → · Palette generator →

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