#B8A442#B8A442

#B8A442 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.119 H 97.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B8A442
RGBrgb(184, 164, 66)
HSLhsl(50, 47%, 49%)
HSVhsv(50, 64%, 72%)
CMYKcmyk(0%, 10.9%, 64.1%, 27.8%)
CIE-LABlab(67.38, -4.36, 51.96)
CIE-LCHlch(67.38, 52.14, 94.80°)
OKLaboklab(71.73% -0.0161 0.1184)
OKLCHoklch(71.73% 0.119 97.7)
XYZxyz(34.0275, 37.1362, 10.5289)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A442 #4256B8
analogous
#B86942 #B8A442 #91B842
triadic
#B8A442 #42B8A4 #A442B8
tetradic
#B8A442 #42B869 #4256B8 #B84291
square
#B8A442 #42B869 #4256B8 #B84291
split-complementary
#B8A442 #4291B8 #6942B8
monochromatic
#5E5422 #8B7C32 #B8A442 #CBBB6D #DBD09A

Accessibility & contrast

On white

2.49
#B8A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B8A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A442
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A442#FFFFFF#000000##000000
##B8A4421.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a442;
/* rgb */ color: rgb(184, 164, 66);
/* oklch */ color: oklch(71.7% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#d0be7b',
    500: '#b8a442',
    950: '#000000',
  },
}
SCSS
$custom: #b8a442;
$custom-light: #d0be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a442",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 49.831,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.11943,
    "h": 97.7
  },
  "luminance": 0.37135
}

Semantic roles & 50–950 ramp

primary
#B8A442
secondary
#8F99C7
accent
#68D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A442

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

Preview Lab → · Contrast checker → · Palette generator →

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