#D7BF4C#D7BF4C

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

Color values

HEX#D7BF4C
RGBrgb(215, 191, 76)
HSLhsl(50, 63%, 57%)
HSVhsv(50, 65%, 84%)
CMYKcmyk(0%, 11.2%, 64.7%, 15.7%)
CIE-LABlab(77.42, -4.61, 59.19)
CIE-LCHlch(77.42, 59.37, 94.45°)
OKLaboklab(80.38% -0.0175 0.1343)
OKLCHoklch(80.38% 0.135 97.4)
XYZxyz(47.9618, 52.2328, 14.3917)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF4C #4C64D7
analogous
#D77A4C #D7BF4C #AAD74C
triadic
#D7BF4C #4CD7BF #BF4CD7
tetradic
#D7BF4C #4CD77A #4C64D7 #D74CAA
square
#D7BF4C #4CD77A #4C64D7 #D74CAA
split-complementary
#D7BF4C #4CAAD7 #7A4CD7
monochromatic
#8A771F #BCA32A #D7BF4C #E2D17E #EDE3B0

Accessibility & contrast

On white

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

On black

11.45
#D7BF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF4C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF4C#FFFFFF#000000##000000
##D7BF4C1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf4c;
/* rgb */ color: rgb(215, 191, 76);
/* oklch */ color: oklch(80.4% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#e7d283',
    500: '#d7bf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf4c;
$custom-light: #e7d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf4c",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 49.64,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8038,
    "c": 0.13545,
    "h": 97.4
  },
  "luminance": 0.5223
}

Semantic roles & 50–950 ramp

primary
#D7BF4C
secondary
#374790
accent
#5EE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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