#B8A63A#B8A63A

#B8A63A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.127 H 99.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B8A63A
RGBrgb(184, 166, 58)
HSLhsl(51, 52%, 47%)
HSVhsv(51, 68%, 72%)
CMYKcmyk(0%, 9.8%, 68.5%, 27.8%)
CIE-LABlab(67.85, -5.90, 55.89)
CIE-LCHlch(67.85, 56.20, 96.03°)
OKLaboklab(72.08% -0.0214 0.1254)
OKLCHoklch(72.08% 0.127 99.7)
XYZxyz(34.1686, 37.7698, 9.4927)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A63A #3A4CB8
analogous
#B8673A #B8A63A #8BB83A
triadic
#B8A63A #3AB8A6 #A63AB8
tetradic
#B8A63A #3AB867 #3A4CB8 #B83A8B
square
#B8A63A #3AB867 #3A4CB8 #B83A8B
split-complementary
#B8A63A #3A8BB8 #673AB8
monochromatic
#5B521D #897C2B #B8A63A #CDBE62 #DCD190

Accessibility & contrast

On white

2.46
#B8A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B8A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A63A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A63A#FFFFFF#000000##000000
##B8A63A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22B
Deuteranopia (green-blind)
#BBA840
Tritanopia (blue-blind)
#C69A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a63a;
/* rgb */ color: rgb(184, 166, 58);
/* oklch */ color: oklch(72.1% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#d1c076',
    500: '#b8a63a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a63a;
$custom-light: #d1c076;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a63a",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 51.429,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72085,
    "c": 0.12719,
    "h": 99.7
  },
  "luminance": 0.37768
}

Semantic roles & 50–950 ramp

primary
#B8A63A
secondary
#8790C7
accent
#61DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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