#D7BE52#D7BE52

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

Color values

HEX#D7BE52
RGBrgb(215, 190, 82)
HSLhsl(49, 62%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.6%, 61.9%, 15.7%)
CIE-LABlab(77.21, -3.71, 56.35)
CIE-LCHlch(77.21, 56.47, 93.76°)
OKLaboklab(80.23% -0.0142 0.1292)
OKLCHoklch(80.23% 0.13 96.3)
XYZxyz(47.9629, 51.8855, 15.4695)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE52 #526BD7
analogous
#D77B52 #D7BE52 #ADD752
triadic
#D7BE52 #52D7BE #BE52D7
tetradic
#D7BE52 #52D77B #526BD7 #D752AD
square
#D7BE52 #52D77B #526BD7 #D752AD
split-complementary
#D7BE52 #52ADD7 #7B52D7
monochromatic
#8E7921 #C0A42C #D7BE52 #E2D184 #EEE3B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BE52#FFFFFF#000000##000000
##D7BE521.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)
#D0BA46
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E7B1A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be52;
/* rgb */ color: rgb(215, 190, 82);
/* oklch */ color: oklch(80.2% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6d187',
    500: '#d7be52',
    950: '#000000',
  },
}
SCSS
$custom: #d7be52;
$custom-light: #e6d187;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be52",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 48.722,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80233,
    "c": 0.12994,
    "h": 96.3
  },
  "luminance": 0.51883
}

Semantic roles & 50–950 ramp

primary
#D7BE52
secondary
#3A4B93
accent
#61E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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