#D7BB4F#D7BB4F

#D7BB4F is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.130 H 94.7°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D7BB4F
RGBrgb(215, 187, 79)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 13%, 63.3%, 15.7%)
CIE-LABlab(76.41, -2.34, 56.80)
CIE-LCHlch(76.41, 56.85, 92.36°)
OKLaboklab(79.59% -0.0106 0.1297)
OKLCHoklch(79.59% 0.13 94.7)
XYZxyz(47.2081, 50.5546, 14.6670)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB4F #4F6BD7
analogous
#D7774F #D7BB4F #AFD74F
triadic
#D7BB4F #4FD7BB #BB4FD7
tetradic
#D7BB4F #4FD777 #4F6BD7 #D74FAF
square
#D7BB4F #4FD777 #4F6BD7 #D74FAF
split-complementary
#D7BB4F #4FAFD7 #774FD7
monochromatic
#8C7620 #BEA02B #D7BB4F #E2CE81 #EEE2B3

Accessibility & contrast

On white

1.89
#D7BB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D7BB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB4F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB4F#FFFFFF#000000##000000
##D7BB4F1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb4f;
/* rgb */ color: rgb(215, 187, 79);
/* oklch */ color: oklch(79.6% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7cf85',
    500: '#d7bb4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb4f;
$custom-light: #e7cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb4f",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 47.647,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79588,
    "c": 0.13014,
    "h": 94.7
  },
  "luminance": 0.50552
}

Semantic roles & 50–950 ramp

primary
#D7BB4F
secondary
#394B92
accent
#64E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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