#D7BE57#D7BE57

#D7BE57 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.126 H 95.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D7BE57
RGBrgb(215, 190, 87)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 60%, 84%)
CMYKcmyk(0%, 11.6%, 59.5%, 15.7%)
CIE-LABlab(77.26, -3.37, 54.15)
CIE-LCHlch(77.26, 54.25, 93.56°)
OKLaboklab(80.29% -0.0126 0.1251)
OKLCHoklch(80.29% 0.126 95.8)
XYZxyz(48.1601, 51.9644, 16.5083)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE57 #5770D7
analogous
#D77E57 #D7BE57 #B0D757
triadic
#D7BE57 #57D7BE #BE57D7
tetradic
#D7BE57 #57D77E #5770D7 #D757B0
square
#D7BE57 #57D77E #5770D7 #D757B0
split-complementary
#D7BE57 #57B0D7 #7E57D7
monochromatic
#917B23 #C2A62E #D7BE57 #E3D188 #EFE4BA

Accessibility & contrast

On white

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

On black

11.39
#D7BE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE57
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE57#FFFFFF#000000##000000
##D7BE571.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7be57;
/* rgb */ color: rgb(215, 190, 87);
/* oklch */ color: oklch(80.3% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e6d18a',
    500: '#d7be57',
    950: '#000000',
  },
}
SCSS
$custom: #d7be57;
$custom-light: #e6d18a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be57",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 87
  },
  "hsl": {
    "h": 48.281,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.12575,
    "h": 95.8
  },
  "luminance": 0.51962
}

Semantic roles & 50–950 ramp

primary
#D7BE57
secondary
#3C4E96
accent
#63E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BE57

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

Preview Lab → · Contrast checker → · Palette generator →

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