#D5B74F#D5B74F

#D5B74F is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.127 H 93.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D5B74F
RGBrgb(213, 183, 79)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 14.1%, 62.9%, 16.5%)
CIE-LABlab(75.19, -1.10, 55.42)
CIE-LCHlch(75.19, 55.43, 91.14°)
OKLaboklab(78.58% -0.0069 0.1268)
OKLCHoklch(78.58% 0.127 93.1)
XYZxyz(45.7875, 48.5800, 14.3608)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B74F #4F6DD5
analogous
#D5744F #D5B74F #B0D54F
triadic
#D5B74F #4FD5B7 #B74FD5
tetradic
#D5B74F #4FD574 #4F6DD5 #D54FB0
square
#D5B74F #4FD574 #4F6DD5 #D54FB0
split-complementary
#D5B74F #4FB0D5 #744FD5
monochromatic
#897221 #BA9B2C #D5B74F #E1CB80 #EDDFB2

Accessibility & contrast

On white

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

On black

10.72
#D5B74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B74F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B74F#FFFFFF#000000##000000
##D5B74F1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#E5AAA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b74f;
/* rgb */ color: rgb(213, 183, 79);
/* oklch */ color: oklch(78.6% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#e5cc84',
    500: '#d5b74f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b74f;
$custom-light: #e5cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b74f",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 46.567,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.127,
    "h": 93.1
  },
  "luminance": 0.48578
}

Semantic roles & 50–950 ramp

primary
#D5B74F
secondary
#A5B1DB
accent
#67E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B74F

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

Preview Lab → · Contrast checker → · Palette generator →

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