#D7BD52#D7BD52

#D7BD52 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.129 H 95.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D7BD52
RGBrgb(215, 189, 82)
HSLhsl(48, 62%, 58%)
HSVhsv(48, 62%, 84%)
CMYKcmyk(0%, 12.1%, 61.9%, 15.7%)
CIE-LABlab(76.95, -3.19, 56.07)
CIE-LCHlch(76.95, 56.16, 93.25°)
OKLaboklab(80.03% -0.0127 0.1286)
OKLCHoklch(80.03% 0.129 95.7)
XYZxyz(47.7470, 51.4538, 15.3976)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD52 #526CD7
analogous
#D77A52 #D7BD52 #AED752
triadic
#D7BD52 #52D7BD #BD52D7
tetradic
#D7BD52 #52D77A #526CD7 #D752AE
square
#D7BD52 #52D77A #526CD7 #D752AE
split-complementary
#D7BD52 #52AED7 #7A52D7
monochromatic
#8E7821 #C0A32C #D7BD52 #E2D084 #EEE3B5

Accessibility & contrast

On white

1.86
#D7BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D7BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD52
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD52#FFFFFF#000000##000000
##D7BD521.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D5C257
Tritanopia (blue-blind)
#E7B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd52;
/* rgb */ color: rgb(215, 189, 82);
/* oklch */ color: oklch(80.0% 0.129 95.7);
Tailwind
colors: {
  custom: {
    50: '#e6d087',
    500: '#d7bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd52;
$custom-light: #e6d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd52",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 48.271,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80028,
    "c": 0.12918,
    "h": 95.7
  },
  "luminance": 0.51451
}

Semantic roles & 50–950 ramp

primary
#D7BD52
secondary
#3A4B93
accent
#62E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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