#B8A45E#B8A45E

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

Color values

HEX#B8A45E
RGBrgb(184, 164, 94)
HSLhsl(47, 39%, 55%)
HSVhsv(47, 49%, 72%)
CMYKcmyk(0%, 10.9%, 48.9%, 27.8%)
CIE-LABlab(67.69, -2.12, 38.78)
CIE-LCHlch(67.69, 38.83, 93.14°)
OKLaboklab(72.08% -0.0063 0.0929)
OKLCHoklch(72.08% 0.093 93.9)
XYZxyz(35.0641, 37.5509, 15.9886)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A45E #5E72B8
analogous
#B8775E #B8A45E #9FB85E
triadic
#B8A45E #5EB8A4 #A45EB8
tetradic
#B8A45E #5EB877 #5E72B8 #B85E9F
square
#B8A45E #5EB877 #5E72B8 #B85E9F
split-complementary
#B8A45E #5E9FB8 #775EB8
monochromatic
#6C5F30 #968442 #B8A45E #CBBC88 #DDD4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A45E#FFFFFF#000000##000000
##B8A45E1.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)
#B1A158
Deuteranopia (green-blind)
#B6A861
Tritanopia (blue-blind)
#C49A93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a45e;
/* rgb */ color: rgb(184, 164, 94);
/* oklch */ color: oklch(72.1% 0.093 93.9);
Tailwind
colors: {
  custom: {
    50: '#cfbe8d',
    500: '#b8a45e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a45e;
$custom-light: #cfbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a45e",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 46.667,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.72076,
    "c": 0.09315,
    "h": 93.9
  },
  "luminance": 0.37549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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