#B8A22E#B8A22E

#B8A22E is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.132 H 98.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B8A22E
RGBrgb(184, 162, 46)
HSLhsl(50, 60%, 45%)
HSVhsv(50, 75%, 72%)
CMYKcmyk(0%, 12%, 75%, 27.8%)
CIE-LABlab(66.70, -4.38, 59.41)
CIE-LCHlch(66.70, 59.57, 94.21°)
OKLaboklab(71.14% -0.0184 0.1306)
OKLCHoklch(71.14% 0.132 98)
XYZxyz(33.1823, 36.2300, 7.8295)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A22E #2E44B8
analogous
#B85D2E #B8A22E #89B82E
triadic
#B8A22E #2EB8A2 #A22EB8
tetradic
#B8A22E #2EB85D #2E44B8 #B82E89
square
#B8A22E #2EB85D #2E44B8 #B82E89
split-complementary
#B8A22E #2E89B8 #5D2EB8
monochromatic
#564C16 #877722 #B8A22E #D3BE50 #DFD081

Accessibility & contrast

On white

2.55
#B8A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B8A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A22E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A22E#FFFFFF#000000##000000
##B8A22E1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E19
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#C7958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a22e;
/* rgb */ color: rgb(184, 162, 46);
/* oklch */ color: oklch(71.1% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d1bd6f',
    500: '#b8a22e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a22e;
$custom-light: #d1bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a22e",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 50.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.1319,
    "h": 98
  },
  "luminance": 0.36228
}

Semantic roles & 50–950 ramp

primary
#B8A22E
secondary
#7986C8
accent
#5EE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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