#B8A645#B8A645

#B8A645 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.119 H 98.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B8A645
RGBrgb(184, 166, 69)
HSLhsl(51, 45%, 50%)
HSVhsv(51, 63%, 72%)
CMYKcmyk(0%, 9.8%, 62.5%, 27.8%)
CIE-LABlab(67.94, -5.23, 51.22)
CIE-LCHlch(67.94, 51.49, 95.83°)
OKLaboklab(72.19% -0.0182 0.1172)
OKLCHoklch(72.19% 0.119 98.8)
XYZxyz(34.4790, 37.8940, 11.1272)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A645 #4557B8
analogous
#B86D45 #B8A645 #91B845
triadic
#B8A645 #45B8A6 #A645B8
tetradic
#B8A645 #45B86D #4557B8 #B84591
square
#B8A645 #45B86D #4557B8 #B84591
split-complementary
#B8A645 #4591B8 #6D45B8
monochromatic
#5F5624 #8B7E34 #B8A645 #CABC71 #DAD19D

Accessibility & contrast

On white

2.45
#B8A645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B8A645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A645
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A645#FFFFFF#000000##000000
##B8A6451.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a645;
/* rgb */ color: rgb(184, 166, 69);
/* oklch */ color: oklch(72.2% 0.119 98.8);
Tailwind
colors: {
  custom: {
    50: '#d0c07d',
    500: '#b8a645',
    950: '#000000',
  },
}
SCSS
$custom: #b8a645;
$custom-light: #d0c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a645",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 50.609,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.11863,
    "h": 98.8
  },
  "luminance": 0.37892
}

Semantic roles & 50–950 ramp

primary
#B8A645
secondary
#929AC7
accent
#67D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A645

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

Preview Lab → · Contrast checker → · Palette generator →

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