#B8A045#B8A045

#B8A045 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.114 H 94.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B8A045
RGBrgb(184, 160, 69)
HSLhsl(47, 45%, 50%)
HSVhsv(47, 63%, 72%)
CMYKcmyk(0%, 13%, 62.5%, 27.8%)
CIE-LABlab(66.34, -2.02, 49.46)
CIE-LCHlch(66.34, 49.50, 92.34°)
OKLaboklab(70.92% -0.009 0.1135)
OKLCHoklch(70.92% 0.114 94.5)
XYZxyz(33.4136, 35.7633, 10.7721)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A045 #455DB8
analogous
#B86645 #B8A045 #97B845
triadic
#B8A045 #45B8A0 #A045B8
tetradic
#B8A045 #45B866 #455DB8 #B84597
square
#B8A045 #45B866 #455DB8 #B84597
split-complementary
#B8A045 #4597B8 #6645B8
monochromatic
#5F5324 #8B7934 #B8A045 #CAB771 #DACE9D

Accessibility & contrast

On white

2.58
#B8A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B8A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A045
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A045#FFFFFF#000000##000000
##B8A0451.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B6A449
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a045;
/* rgb */ color: rgb(184, 160, 69);
/* oklch */ color: oklch(70.9% 0.114 94.5);
Tailwind
colors: {
  custom: {
    50: '#d0bb7c',
    500: '#b8a045',
    950: '#000000',
  },
}
SCSS
$custom: #b8a045;
$custom-light: #d0bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a045",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 47.478,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.11385,
    "h": 94.5
  },
  "luminance": 0.35762
}

Semantic roles & 50–950 ramp

primary
#B8A045
secondary
#929DC7
accent
#6ED553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A045

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

Preview Lab → · Contrast checker → · Palette generator →

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