#D5B74C#D5B74C

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

Color values

HEX#D5B74C
RGBrgb(213, 183, 76)
HSLhsl(47, 62%, 57%)
HSVhsv(47, 64%, 84%)
CMYKcmyk(0%, 14.1%, 64.3%, 16.5%)
CIE-LABlab(75.16, -1.29, 56.72)
CIE-LCHlch(75.16, 56.73, 91.30°)
OKLaboklab(78.55% -0.0078 0.1291)
OKLCHoklch(78.55% 0.129 93.5)
XYZxyz(45.6807, 48.5373, 13.7986)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B74C #4C6AD5
analogous
#D5734C #D5B74C #AFD54C
triadic
#D5B74C #4CD5B7 #B74CD5
tetradic
#D5B74C #4CD573 #4C6AD5 #D54CAF
square
#D5B74C #4CD573 #4C6AD5 #D54CAF
split-complementary
#D5B74C #4CAFD5 #734CD5
monochromatic
#877020 #B99A2B #D5B74C #E1CB7E #ECDFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B74C#FFFFFF#000000##000000
##D5B74C1.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)
#C9B440
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#E5A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b74c;
/* rgb */ color: rgb(213, 183, 76);
/* oklch */ color: oklch(78.6% 0.129 93.5);
Tailwind
colors: {
  custom: {
    50: '#e5cc83',
    500: '#d5b74c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b74c;
$custom-light: #e5cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b74c",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 46.861,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78552,
    "c": 0.12937,
    "h": 93.5
  },
  "luminance": 0.48535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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