#D7BF4B#D7BF4B

#D7BF4B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.136 H 97.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D7BF4B
RGBrgb(215, 191, 75)
HSLhsl(50, 64%, 57%)
HSVhsv(50, 65%, 84%)
CMYKcmyk(0%, 11.2%, 65.1%, 15.7%)
CIE-LABlab(77.41, -4.67, 59.61)
CIE-LCHlch(77.41, 59.79, 94.48°)
OKLaboklab(80.37% -0.0178 0.1351)
OKLCHoklch(80.37% 0.136 97.5)
XYZxyz(47.9273, 52.2190, 14.2100)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF4B #4B63D7
analogous
#D7794B #D7BF4B #A9D74B
triadic
#D7BF4B #4BD7BF #BF4BD7
tetradic
#D7BF4B #4BD779 #4B63D7 #D74BA9
square
#D7BF4B #4BD779 #4B63D7 #D74BA9
split-complementary
#D7BF4B #4BA9D7 #794BD7
monochromatic
#89771E #BBA22A #D7BF4B #E2D17D #EDE3AF

Accessibility & contrast

On white

1.84
#D7BF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D7BF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF4B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF4B#FFFFFF#000000##000000
##D7BF4B1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf4b;
/* rgb */ color: rgb(215, 191, 75);
/* oklch */ color: oklch(80.4% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#e7d283',
    500: '#d7bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf4b;
$custom-light: #e7d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf4b",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 49.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80371,
    "c": 0.13622,
    "h": 97.5
  },
  "luminance": 0.52217
}

Semantic roles & 50–950 ramp

primary
#D7BF4B
secondary
#37468F
accent
#5EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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