#D8BE57#D8BE57

#D8BE57 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.4% C 0.126 H 95.2°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D8BE57
RGBrgb(216, 190, 87)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 12%, 59.7%, 15.3%)
CIE-LABlab(77.35, -2.95, 54.27)
CIE-LCHlch(77.35, 54.35, 93.11°)
OKLaboklab(80.38% -0.0115 0.1254)
OKLCHoklch(80.38% 0.126 95.2)
XYZxyz(48.4547, 52.1163, 16.5221)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE57 #5771D8
analogous
#D87E57 #D8BE57 #B2D857
triadic
#D8BE57 #57D8BE #BE57D8
tetradic
#D8BE57 #57D87E #5771D8 #D857B2
square
#D8BE57 #57D87E #5771D8 #D857B2
split-complementary
#D8BE57 #57B2D8 #7E57D8
monochromatic
#937C22 #C4A62E #D8BE57 #E4D189 #EFE4BA

Accessibility & contrast

On white

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

On black

11.42
#D8BE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE57
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE57#FFFFFF#000000##000000
##D8BE571.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#E8B1A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be57;
/* rgb */ color: rgb(216, 190, 87);
/* oklch */ color: oklch(80.4% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#e7d18a',
    500: '#d8be57',
    950: '#000000',
  },
}
SCSS
$custom: #d8be57;
$custom-light: #e7d18a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be57",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 87
  },
  "hsl": {
    "h": 47.907,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80379,
    "c": 0.12589,
    "h": 95.2
  },
  "luminance": 0.52114
}

Semantic roles & 50–950 ramp

primary
#D8BE57
secondary
#3C4E98
accent
#63E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BE57

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

Preview Lab → · Contrast checker → · Palette generator →

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