#B8A45D#B8A45D

#B8A45D is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.1% C 0.094 H 94.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B8A45D
RGBrgb(184, 164, 93)
HSLhsl(47, 39%, 54%)
HSVhsv(47, 49%, 72%)
CMYKcmyk(0%, 10.9%, 49.5%, 27.8%)
CIE-LABlab(67.67, -2.22, 39.27)
CIE-LCHlch(67.67, 39.33, 93.23°)
OKLaboklab(72.06% -0.0067 0.094)
OKLCHoklch(72.06% 0.094 94.1)
XYZxyz(35.0195, 37.5330, 15.7538)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A45D #5D71B8
analogous
#B8775D #B8A45D #9FB85D
triadic
#B8A45D #5DB8A4 #A45DB8
tetradic
#B8A45D #5DB877 #5D71B8 #B85D9F
square
#B8A45D #5DB877 #5D71B8 #B85D9F
split-complementary
#B8A45D #5D9FB8 #775DB8
monochromatic
#6B5E2F #968442 #B8A45D #CBBC88 #DDD4B2

Accessibility & contrast

On white

2.47
#B8A45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B8A45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A45D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A45D#FFFFFF#000000##000000
##B8A45D1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a45d;
/* rgb */ color: rgb(184, 164, 93);
/* oklch */ color: oklch(72.1% 0.094 94.1);
Tailwind
colors: {
  custom: {
    50: '#cfbe8c',
    500: '#b8a45d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a45d;
$custom-light: #cfbe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a45d",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 93
  },
  "hsl": {
    "h": 46.813,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.72062,
    "c": 0.09419,
    "h": 94.1
  },
  "luminance": 0.37532
}

Semantic roles & 50–950 ramp

primary
#B8A45D
secondary
#A5AECC
accent
#73CF59
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A45D

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

Preview Lab → · Contrast checker → · Palette generator →

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