#B8A63B#B8A63B

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

Color values

HEX#B8A63B
RGBrgb(184, 166, 59)
HSLhsl(51, 51%, 48%)
HSVhsv(51, 68%, 72%)
CMYKcmyk(0%, 9.8%, 67.9%, 27.8%)
CIE-LABlab(67.86, -5.85, 55.48)
CIE-LCHlch(67.86, 55.79, 96.02°)
OKLaboklab(72.09% -0.0211 0.1247)
OKLCHoklch(72.09% 0.126 99.6)
XYZxyz(34.1943, 37.7801, 9.6280)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A63B #3B4DB8
analogous
#B8673B #B8A63B #8BB83B
triadic
#B8A63B #3BB8A6 #A63BB8
tetradic
#B8A63B #3BB867 #3B4DB8 #B83B8B
square
#B8A63B #3BB867 #3B4DB8 #B83B8B
split-complementary
#B8A63B #3B8BB8 #673BB8
monochromatic
#5B521D #8A7C2C #B8A63B #CDBE63 #DCD192

Accessibility & contrast

On white

2.45
#B8A63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B8A63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A63B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A63B#FFFFFF#000000##000000
##B8A63B1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a63b;
/* rgb */ color: rgb(184, 166, 59);
/* oklch */ color: oklch(72.1% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#d1c077',
    500: '#b8a63b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a63b;
$custom-light: #d1c077;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a63b",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 51.36,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.12647,
    "h": 99.6
  },
  "luminance": 0.37779
}

Semantic roles & 50–950 ramp

primary
#B8A63B
secondary
#8891C7
accent
#61DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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