#B8A142#B8A142

#B8A142 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.117 H 95.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B8A142
RGBrgb(184, 161, 66)
HSLhsl(48, 47%, 49%)
HSVhsv(48, 64%, 72%)
CMYKcmyk(0%, 12.5%, 64.1%, 27.8%)
CIE-LABlab(66.58, -2.76, 51.09)
CIE-LCHlch(66.58, 51.17, 93.09°)
OKLaboklab(71.1% -0.0115 0.1165)
OKLCHoklch(71.1% 0.117 95.6)
XYZxyz(33.4969, 36.0751, 10.3520)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A142 #4259B8
analogous
#B86642 #B8A142 #94B842
triadic
#B8A142 #42B8A1 #A142B8
tetradic
#B8A142 #42B866 #4259B8 #B84294
square
#B8A142 #42B866 #4259B8 #B84294
split-complementary
#B8A142 #4294B8 #6642B8
monochromatic
#5E5222 #8B7A32 #B8A142 #CBB86D #DBCE9A

Accessibility & contrast

On white

2.56
#B8A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B8A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A142
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A142#FFFFFF#000000##000000
##B8A1421.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a142;
/* rgb */ color: rgb(184, 161, 66);
/* oklch */ color: oklch(71.1% 0.117 95.6);
Tailwind
colors: {
  custom: {
    50: '#d0bc7b',
    500: '#b8a142',
    950: '#000000',
  },
}
SCSS
$custom: #b8a142;
$custom-light: #d0bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a142",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 48.305,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.11708,
    "h": 95.6
  },
  "luminance": 0.36073
}

Semantic roles & 50–950 ramp

primary
#B8A142
secondary
#8F9AC7
accent
#6BD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A142

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

Preview Lab → · Contrast checker → · Palette generator →

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