#B8BA3A#B8BA3A

#B8BA3A is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.146 H 110.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B8BA3A
RGBrgb(184, 186, 58)
HSLhsl(61, 52%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.1%, 0%, 68.8%, 27.1%)
CIE-LABlab(73.29, -16.25, 61.38)
CIE-LCHlch(73.29, 63.49, 104.83°)
OKLaboklab(76.42% -0.0506 0.137)
OKLCHoklch(76.42% 0.146 110.3)
XYZxyz(38.0911, 45.6147, 10.8002)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA3A #3C3ABA
analogous
#BA7C3A #B8BA3A #78BA3A
triadic
#B8BA3A #3AB8BA #BA3AB8
tetradic
#B8BA3A #3ABA7C #3C3ABA #BA3A78
square
#B8BA3A #3ABA7C #3C3ABA #BA3A78
split-complementary
#B8BA3A #3A78BA #7C3ABA
monochromatic
#5C5D1D #8A8B2B #B8BA3A #CDCE63 #DCDD92

Accessibility & contrast

On white

2.07
#B8BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B8BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA3A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA3A#FFFFFF#000000##000000
##B8BA3A1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C5AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba3a;
/* rgb */ color: rgb(184, 186, 58);
/* oklch */ color: oklch(76.4% 0.146 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1ce78',
    500: '#b8ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba3a;
$custom-light: #d1ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba3a",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 60.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.14602,
    "h": 110.3
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#B8BA3A
secondary
#8988C8
accent
#4CDC4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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