#B8A03E#B8A03E

#B8A03E is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.119 H 95.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B8A03E
RGBrgb(184, 160, 62)
HSLhsl(48, 50%, 48%)
HSVhsv(48, 66%, 72%)
CMYKcmyk(0%, 13%, 66.3%, 27.8%)
CIE-LABlab(66.28, -2.48, 52.55)
CIE-LCHlch(66.28, 52.61, 92.70°)
OKLaboklab(70.85% -0.0111 0.119)
OKLCHoklch(70.85% 0.12 95.3)
XYZxyz(33.2090, 35.6815, 9.6945)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03E #3E56B8
analogous
#B8633E #B8A03E #93B83E
triadic
#B8A03E #3EB8A0 #A03EB8
tetradic
#B8A03E #3EB863 #3E56B8 #B83E93
square
#B8A03E #3EB863 #3E56B8 #B83E93
split-complementary
#B8A03E #3E93B8 #633EB8
monochromatic
#5C501F #8A782F #B8A03E #CCB867 #DBCD95

Accessibility & contrast

On white

2.58
#B8A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B8A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A03E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A03E#FFFFFF#000000##000000
##B8A03E1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D32
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03e;
/* rgb */ color: rgb(184, 160, 62);
/* oklch */ color: oklch(70.8% 0.119 95.3);
Tailwind
colors: {
  custom: {
    50: '#d1bb78',
    500: '#b8a03e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03e;
$custom-light: #d1bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03e",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 48.197,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70848,
    "c": 0.1195,
    "h": 95.3
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

primary
#B8A03E
secondary
#8B97C7
accent
#6AD94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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