#B8A03F#B8A03F

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

Color values

HEX#B8A03F
RGBrgb(184, 160, 63)
HSLhsl(48, 49%, 48%)
HSVhsv(48, 66%, 72%)
CMYKcmyk(0%, 13%, 65.8%, 27.8%)
CIE-LABlab(66.28, -2.41, 52.12)
CIE-LCHlch(66.28, 52.17, 92.65°)
OKLaboklab(70.86% -0.0108 0.1182)
OKLCHoklch(70.86% 0.119 95.2)
XYZxyz(33.2367, 35.6925, 9.8403)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03F #3F57B8
analogous
#B8633F #B8A03F #93B83F
triadic
#B8A03F #3FB8A0 #A03FB8
tetradic
#B8A03F #3FB863 #3F57B8 #B83F93
square
#B8A03F #3FB863 #3F57B8 #B83F93
split-complementary
#B8A03F #3F93B8 #633FB8
monochromatic
#5D5120 #8A782F #B8A03F #CCB869 #DBCD96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A03F#FFFFFF#000000##000000
##B8A03F1.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)
#B09D33
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#C6948C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03f;
/* rgb */ color: rgb(184, 160, 63);
/* oklch */ color: oklch(70.9% 0.119 95.2);
Tailwind
colors: {
  custom: {
    50: '#d1bb79',
    500: '#b8a03f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03f;
$custom-light: #d1bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03f",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 48.099,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.11873,
    "h": 95.2
  },
  "luminance": 0.35691
}

Semantic roles & 50–950 ramp

primary
#B8A03F
secondary
#8C98C7
accent
#6AD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03F

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

Preview Lab → · Contrast checker → · Palette generator →

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