#D5B143#D5B143

#D5B143 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.3% C 0.132 H 90.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D5B143
RGBrgb(213, 177, 67)
HSLhsl(45, 63%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 16.9%, 68.5%, 16.5%)
CIE-LABlab(73.54, 1.34, 58.87)
CIE-LCHlch(73.54, 58.89, 88.69°)
OKLaboklab(77.25% -0.0014 0.1323)
OKLCHoklch(77.25% 0.132 90.6)
XYZxyz(44.1782, 45.9983, 11.8607)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B143 #4367D5
analogous
#D56843 #D5B143 #B0D543
triadic
#D5B143 #43D5B1 #B143D5
tetradic
#D5B143 #43D568 #4367D5 #D543B0
square
#D5B143 #43D568 #4367D5 #D543B0
split-complementary
#D5B143 #43B0D5 #6843D5
monochromatic
#81681D #B39128 #D5B143 #E0C675 #EBDBA7

Accessibility & contrast

On white

2.06
#D5B143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D5B143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B143
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B143#FFFFFF#000000##000000
##D5B1431.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF35
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E6A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b143;
/* rgb */ color: rgb(213, 177, 67);
/* oklch */ color: oklch(77.3% 0.132 90.6);
Tailwind
colors: {
  custom: {
    50: '#e6c87d',
    500: '#d5b143',
    950: '#000000',
  },
}
SCSS
$custom: #d5b143;
$custom-light: #e6c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b143",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 45.205,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77251,
    "c": 0.13226,
    "h": 90.6
  },
  "luminance": 0.45996
}

Semantic roles & 50–950 ramp

primary
#D5B143
secondary
#9BAAD9
accent
#6AE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B143

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

Preview Lab → · Contrast checker → · Palette generator →

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