#D8BE47#D8BE47

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

Color values

HEX#D8BE47
RGBrgb(216, 190, 71)
HSLhsl(49, 65%, 56%)
HSVhsv(49, 67%, 85%)
CMYKcmyk(0%, 12%, 67.1%, 15.3%)
CIE-LABlab(77.21, -3.95, 61.10)
CIE-LCHlch(77.21, 61.22, 93.70°)
OKLaboklab(80.22% -0.0163 0.1375)
OKLCHoklch(80.22% 0.138 96.7)
XYZxyz(47.8719, 51.8832, 13.4529)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE47 #4761D8
analogous
#D87647 #D8BE47 #AAD847
triadic
#D8BE47 #47D8BE #BE47D8
tetradic
#D8BE47 #47D876 #4761D8 #D847AA
square
#D8BE47 #47D876 #4761D8 #D847AA
split-complementary
#D8BE47 #47AAD8 #7647D8
monochromatic
#88751D #BAA027 #D8BE47 #E3D079 #EDE2AC

Accessibility & contrast

On white

1.85
#D8BE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BE47#FFFFFF#000000##000000
##D8BE471.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA37
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#E9B0A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be47;
/* rgb */ color: rgb(216, 190, 71);
/* oklch */ color: oklch(80.2% 0.138 96.7);
Tailwind
colors: {
  custom: {
    50: '#e8d180',
    500: '#d8be47',
    950: '#000000',
  },
}
SCSS
$custom: #d8be47;
$custom-light: #e8d180;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be47",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 71
  },
  "hsl": {
    "h": 49.241,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80224,
    "c": 0.13849,
    "h": 96.7
  },
  "luminance": 0.51881
}

Semantic roles & 50–950 ramp

primary
#D8BE47
secondary
#35458E
accent
#5EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE47

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

Preview Lab → · Contrast checker → · Palette generator →

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