#D5B74B#D5B74B

#D5B74B is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.130 H 93.6°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D5B74B
RGBrgb(213, 183, 75)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 14.1%, 64.8%, 16.5%)
CIE-LABlab(75.15, -1.35, 57.15)
CIE-LCHlch(75.15, 57.16, 91.35°)
OKLaboklab(78.54% -0.0081 0.1299)
OKLCHoklch(78.54% 0.13 93.6)
XYZxyz(45.6462, 48.5235, 13.6169)
Luminance0.4852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B74B #4B69D5
analogous
#D5724B #D5B74B #AED54B
triadic
#D5B74B #4BD5B7 #B74BD5
tetradic
#D5B74B #4BD572 #4B69D5 #D54BAE
square
#D5B74B #4BD572 #4B69D5 #D54BAE
split-complementary
#D5B74B #4BAED5 #724BD5
monochromatic
#86701F #B8992B #D5B74B #E1CB7D #ECDFAE

Accessibility & contrast

On white

1.96
#D5B74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D5B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B74B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B74B#FFFFFF#000000##000000
##D5B74B1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43E
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#E5A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b74b;
/* rgb */ color: rgb(213, 183, 75);
/* oklch */ color: oklch(78.5% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#e5cc82',
    500: '#d5b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b74b;
$custom-light: #e5cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b74b",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 46.957,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78542,
    "c": 0.13015,
    "h": 93.6
  },
  "luminance": 0.48521
}

Semantic roles & 50–950 ramp

primary
#D5B74B
secondary
#A2AEDA
accent
#66E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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