#B8A13B#B8A13B

#B8A13B is a light, vivid yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.123 H 96.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B8A13B
RGBrgb(184, 161, 59)
HSLhsl(49, 51%, 48%)
HSVhsv(49, 68%, 72%)
CMYKcmyk(0%, 12.5%, 67.9%, 27.8%)
CIE-LABlab(66.52, -3.19, 54.10)
CIE-LCHlch(66.52, 54.19, 93.37°)
OKLaboklab(71.03% -0.0135 0.1218)
OKLCHoklch(71.03% 0.123 96.3)
XYZxyz(33.3030, 35.9975, 9.3309)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A13B #3B52B8
analogous
#B8633B #B8A13B #90B83B
triadic
#B8A13B #3BB8A1 #A13BB8
tetradic
#B8A13B #3BB863 #3B52B8 #B83B90
square
#B8A13B #3BB863 #3B52B8 #B83B90
split-complementary
#B8A13B #3B90B8 #633BB8
monochromatic
#5B501D #8A782C #B8A13B #CDBA63 #DCCE92

Accessibility & contrast

On white

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

On black

8.20
#B8A13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A13B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A13B#FFFFFF#000000##000000
##B8A13B1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2E
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a13b;
/* rgb */ color: rgb(184, 161, 59);
/* oklch */ color: oklch(71.0% 0.123 96.3);
Tailwind
colors: {
  custom: {
    50: '#d1bc76',
    500: '#b8a13b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a13b;
$custom-light: #d1bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a13b",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 48.96,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.12251,
    "h": 96.3
  },
  "luminance": 0.35996
}

Semantic roles & 50–950 ramp

primary
#B8A13B
secondary
#8893C7
accent
#67DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A13B

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

Preview Lab → · Contrast checker → · Palette generator →

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