#B8A13F#B8A13F

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

Color values

HEX#B8A13F
RGBrgb(184, 161, 63)
HSLhsl(49, 49%, 48%)
HSVhsv(49, 66%, 72%)
CMYKcmyk(0%, 12.5%, 65.8%, 27.8%)
CIE-LABlab(66.55, -2.95, 52.40)
CIE-LCHlch(66.55, 52.48, 93.22°)
OKLaboklab(71.07% -0.0124 0.1188)
OKLCHoklch(71.07% 0.119 95.9)
XYZxyz(33.4108, 36.0406, 9.8984)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A13F #3F56B8
analogous
#B8643F #B8A13F #92B83F
triadic
#B8A13F #3FB8A1 #A13FB8
tetradic
#B8A13F #3FB864 #3F56B8 #B83F92
square
#B8A13F #3FB864 #3F56B8 #B83F92
split-complementary
#B8A13F #3F92B8 #643FB8
monochromatic
#5D5120 #8A792F #B8A13F #CCB969 #DBCE96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A13F#FFFFFF#000000##000000
##B8A13F1.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)
#B19E33
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a13f;
/* rgb */ color: rgb(184, 161, 63);
/* oklch */ color: oklch(71.1% 0.119 95.9);
Tailwind
colors: {
  custom: {
    50: '#d1bc79',
    500: '#b8a13f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a13f;
$custom-light: #d1bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a13f",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 48.595,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71068,
    "c": 0.11947,
    "h": 95.9
  },
  "luminance": 0.36039
}

Semantic roles & 50–950 ramp

primary
#B8A13F
secondary
#8C97C7
accent
#69D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A13F

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

Preview Lab → · Contrast checker → · Palette generator →

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