#B8AA2B#B8AA2B

#B8AA2B is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.140 H 102.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B8AA2B
RGBrgb(184, 170, 43)
HSLhsl(54, 62%, 45%)
HSVhsv(54, 77%, 72%)
CMYKcmyk(0%, 7.6%, 76.6%, 27.8%)
CIE-LABlab(68.83, -8.73, 62.45)
CIE-LCHlch(68.83, 63.06, 97.95°)
OKLaboklab(72.84% -0.0309 0.1365)
OKLCHoklch(72.84% 0.14 102.8)
XYZxyz(34.5795, 39.1157, 8.0137)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA2B #2B39B8
analogous
#B8642B #B8AA2B #7FB82B
triadic
#B8AA2B #2BB8AA #AA2BB8
tetradic
#B8AA2B #2BB864 #2B39B8 #B82B7F
square
#B8AA2B #2BB864 #2B39B8 #B82B7F
split-complementary
#B8AA2B #2B7FB8 #642BB8
monochromatic
#554E14 #867C1F #B8AA2B #D5C74B #E1D77D

Accessibility & contrast

On white

2.38
#B8AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B8AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA2B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA2B#FFFFFF#000000##000000
##B8AA2B1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40E
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa2b;
/* rgb */ color: rgb(184, 170, 43);
/* oklch */ color: oklch(72.8% 0.140 102.8);
Tailwind
colors: {
  custom: {
    50: '#d1c26f',
    500: '#b8aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa2b;
$custom-light: #d1c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa2b",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 54.043,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.13998,
    "h": 102.8
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

primary
#B8AA2B
secondary
#767EC9
accent
#53E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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