#B7A45D#B7A45D

#B7A45D is a light, moderate yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.094 H 94.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B7A45D
RGBrgb(183, 164, 93)
HSLhsl(47, 38%, 54%)
HSVhsv(47, 49%, 72%)
CMYKcmyk(0%, 10.4%, 49.2%, 28.2%)
CIE-LABlab(67.58, -2.64, 39.14)
CIE-LCHlch(67.58, 39.23, 93.86°)
OKLaboklab(71.97% -0.0079 0.0937)
OKLCHoklch(71.97% 0.094 94.8)
XYZxyz(34.7808, 37.4099, 15.7426)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A45D #5D70B7
analogous
#B7775D #B7A45D #9DB75D
triadic
#B7A45D #5DB7A4 #A45DB7
tetradic
#B7A45D #5DB777 #5D70B7 #B75D9D
square
#B7A45D #5DB777 #5D70B7 #B75D9D
split-complementary
#B7A45D #5D9DB7 #775DB7
monochromatic
#6A5E2F #958342 #B7A45D #CABC87 #DDD4B2

Accessibility & contrast

On white

2.48
#B7A45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B7A45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A45D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A45D#FFFFFF#000000##000000
##B7A45D1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A157
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#C39A93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a45d;
/* rgb */ color: rgb(183, 164, 93);
/* oklch */ color: oklch(72.0% 0.094 94.8);
Tailwind
colors: {
  custom: {
    50: '#cebe8c',
    500: '#b7a45d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a45d;
$custom-light: #cebe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a45d",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 93
  },
  "hsl": {
    "h": 47.333,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71968,
    "c": 0.094,
    "h": 94.8
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#B7A45D
secondary
#A5ADCB
accent
#72CE59
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B7A45D

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

Preview Lab → · Contrast checker → · Palette generator →

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