#B8A62A#B8A62A

#B8A62A is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.137 H 100.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B8A62A
RGBrgb(184, 166, 42)
HSLhsl(52, 63%, 44%)
HSVhsv(52, 77%, 72%)
CMYKcmyk(0%, 9.8%, 77.2%, 27.8%)
CIE-LABlab(67.75, -6.66, 61.79)
CIE-LCHlch(67.75, 62.15, 96.16°)
OKLaboklab(71.97% -0.0252 0.1349)
OKLCHoklch(71.97% 0.137 100.6)
XYZxyz(33.8229, 37.6316, 7.6721)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A62A #2A3CB8
analogous
#B85F2A #B8A62A #83B82A
triadic
#B8A62A #2AB8A6 #A62AB8
tetradic
#B8A62A #2AB85F #2A3CB8 #B82A83
square
#B8A62A #2AB85F #2A3CB8 #B82A83
split-complementary
#B8A62A #2A83B8 #5F2AB8
monochromatic
#544C13 #86791F #B8A62A #D6C44A #E1D47B

Accessibility & contrast

On white

2.46
#B8A62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B8A62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A62A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A62A#FFFFFF#000000##000000
##B8A62A1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#C7998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a62a;
/* rgb */ color: rgb(184, 166, 42);
/* oklch */ color: oklch(72.0% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#d1c06e',
    500: '#b8a62a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a62a;
$custom-light: #d1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a62a",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 52.394,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.13724,
    "h": 100.6
  },
  "luminance": 0.3763
}

Semantic roles & 50–950 ramp

primary
#B8A62A
secondary
#757FC9
accent
#57E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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