#B8A13E#B8A13E

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

Color values

HEX#B8A13E
RGBrgb(184, 161, 62)
HSLhsl(49, 50%, 48%)
HSVhsv(49, 66%, 72%)
CMYKcmyk(0%, 12.5%, 66.3%, 27.8%)
CIE-LABlab(66.54, -3.01, 52.83)
CIE-LCHlch(66.54, 52.92, 93.26°)
OKLaboklab(71.06% -0.0127 0.1196)
OKLCHoklch(71.06% 0.12 96)
XYZxyz(33.3831, 36.0296, 9.7525)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A13E #3E55B8
analogous
#B8643E #B8A13E #92B83E
triadic
#B8A13E #3EB8A1 #A13EB8
tetradic
#B8A13E #3EB864 #3E55B8 #B83E92
square
#B8A13E #3EB864 #3E55B8 #B83E92
split-complementary
#B8A13E #3E92B8 #643EB8
monochromatic
#5C511F #8A792F #B8A13E #CCB967 #DBCE95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A13E#FFFFFF#000000##000000
##B8A13E1.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)
#B19E32
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a13e;
/* rgb */ color: rgb(184, 161, 62);
/* oklch */ color: oklch(71.1% 0.120 96.0);
Tailwind
colors: {
  custom: {
    50: '#d1bc78',
    500: '#b8a13e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a13e;
$custom-light: #d1bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a13e",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 48.689,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71059,
    "c": 0.12025,
    "h": 96
  },
  "luminance": 0.36028
}

Semantic roles & 50–950 ramp

primary
#B8A13E
secondary
#8B96C7
accent
#69D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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