#D5B74E#D5B74E

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

Color values

HEX#D5B74E
RGBrgb(213, 183, 78)
HSLhsl(47, 62%, 57%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 14.1%, 63.4%, 16.5%)
CIE-LABlab(75.18, -1.16, 55.85)
CIE-LCHlch(75.18, 55.87, 91.19°)
OKLaboklab(78.57% -0.0072 0.1276)
OKLCHoklch(78.57% 0.128 93.3)
XYZxyz(45.7513, 48.5656, 14.1705)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B74E #4E6CD5
analogous
#D5744E #D5B74E #AFD54E
triadic
#D5B74E #4ED5B7 #B74ED5
tetradic
#D5B74E #4ED574 #4E6CD5 #D54EAF
square
#D5B74E #4ED574 #4E6CD5 #D54EAF
split-complementary
#D5B74E #4EAFD5 #744ED5
monochromatic
#887120 #BA9A2C #D5B74E #E1CB7F #ECDFB1

Accessibility & contrast

On white

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

On black

10.71
#D5B74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B74E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B74E#FFFFFF#000000##000000
##D5B74E1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#E5AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b74e;
/* rgb */ color: rgb(213, 183, 78);
/* oklch */ color: oklch(78.6% 0.128 93.3);
Tailwind
colors: {
  custom: {
    50: '#e5cc84',
    500: '#d5b74e',
    950: '#000000',
  },
}
SCSS
$custom: #d5b74e;
$custom-light: #e5cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b74e",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 46.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78571,
    "c": 0.1278,
    "h": 93.3
  },
  "luminance": 0.48563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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