#D8BE4A#D8BE4A

#D8BE4A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.3% C 0.136 H 96.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D8BE4A
RGBrgb(216, 190, 74)
HSLhsl(49, 65%, 57%)
HSVhsv(49, 66%, 85%)
CMYKcmyk(0%, 12%, 65.7%, 15.3%)
CIE-LABlab(77.23, -3.78, 59.87)
CIE-LCHlch(77.23, 59.99, 93.61°)
OKLaboklab(80.25% -0.0154 0.1354)
OKLCHoklch(80.25% 0.136 96.5)
XYZxyz(47.9706, 51.9226, 13.9725)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE4A #4A64D8
analogous
#D8774A #D8BE4A #ABD84A
triadic
#D8BE4A #4AD8BE #BE4AD8
tetradic
#D8BE4A #4AD877 #4A64D8 #D84AAB
square
#D8BE4A #4AD877 #4A64D8 #D84AAB
split-complementary
#D8BE4A #4AABD8 #774AD8
monochromatic
#8A761E #BCA129 #D8BE4A #E3D07C #EEE2AF

Accessibility & contrast

On white

1.84
#D8BE4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D8BE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE4A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE4A#FFFFFF#000000##000000
##D8BE4A1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3C
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be4a;
/* rgb */ color: rgb(216, 190, 74);
/* oklch */ color: oklch(80.3% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#e7d182',
    500: '#d8be4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8be4a;
$custom-light: #e7d182;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be4a",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 49.014,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.1363,
    "h": 96.5
  },
  "luminance": 0.5192
}

Semantic roles & 50–950 ramp

primary
#D8BE4A
secondary
#364790
accent
#5FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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