#D7BE51#D7BE51

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

Color values

HEX#D7BE51
RGBrgb(215, 190, 81)
HSLhsl(49, 63%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.6%, 62.3%, 15.7%)
CIE-LABlab(77.20, -3.77, 56.78)
CIE-LCHlch(77.20, 56.91, 93.80°)
OKLaboklab(80.22% -0.0145 0.1299)
OKLCHoklch(80.22% 0.131 96.4)
XYZxyz(47.9251, 51.8704, 15.2706)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE51 #516AD7
analogous
#D77B51 #D7BE51 #ADD751
triadic
#D7BE51 #51D7BE #BE51D7
tetradic
#D7BE51 #51D77B #516AD7 #D751AD
square
#D7BE51 #51D77B #516AD7 #D751AD
split-complementary
#D7BE51 #51ADD7 #7B51D7
monochromatic
#8D7920 #BFA32C #D7BE51 #E2D183 #EEE3B5

Accessibility & contrast

On white

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

On black

11.37
#D7BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE51
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE51#FFFFFF#000000##000000
##D7BE511.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7be51;
/* rgb */ color: rgb(215, 190, 81);
/* oklch */ color: oklch(80.2% 0.131 96.4);
Tailwind
colors: {
  custom: {
    50: '#e6d186',
    500: '#d7be51',
    950: '#000000',
  },
}
SCSS
$custom: #d7be51;
$custom-light: #e6d186;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be51",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 48.806,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80223,
    "c": 0.13075,
    "h": 96.4
  },
  "luminance": 0.51868
}

Semantic roles & 50–950 ramp

primary
#D7BE51
secondary
#394A93
accent
#61E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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