#D7BF52#D7BF52

#D7BF52 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.131 H 96.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D7BF52
RGBrgb(215, 191, 82)
HSLhsl(49, 62%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.2%, 61.9%, 15.7%)
CIE-LABlab(77.47, -4.23, 56.64)
CIE-LCHlch(77.47, 56.79, 94.27°)
OKLaboklab(80.44% -0.0157 0.1298)
OKLCHoklch(80.44% 0.131 96.9)
XYZxyz(48.1802, 52.3201, 15.5420)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF52 #526AD7
analogous
#D77C52 #D7BF52 #ACD752
triadic
#D7BF52 #52D7BF #BF52D7
tetradic
#D7BF52 #52D77C #526AD7 #D752AC
square
#D7BF52 #52D77C #526AD7 #D752AC
split-complementary
#D7BF52 #52ACD7 #7C52D7
monochromatic
#8E7A21 #C0A52C #D7BF52 #E2D184 #EEE4B5

Accessibility & contrast

On white

1.83
#D7BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D7BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF52
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF52#FFFFFF#000000##000000
##D7BF521.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB46
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf52;
/* rgb */ color: rgb(215, 191, 82);
/* oklch */ color: oklch(80.4% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#e6d287',
    500: '#d7bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf52;
$custom-light: #e6d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf52",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 49.173,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80438,
    "c": 0.13072,
    "h": 96.9
  },
  "luminance": 0.52318
}

Semantic roles & 50–950 ramp

primary
#D7BF52
secondary
#3A4A93
accent
#60E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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