#B8BA39#B8BA39

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

Color values

HEX#B8BA39
RGBrgb(184, 186, 57)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.1%, 0%, 69.4%, 27.1%)
CIE-LABlab(73.29, -16.31, 61.75)
CIE-LCHlch(73.29, 63.86, 104.79°)
OKLaboklab(76.41% -0.0509 0.1376)
OKLCHoklch(76.41% 0.147 110.3)
XYZxyz(38.0659, 45.6046, 10.6675)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA39 #3B39BA
analogous
#BA7B39 #B8BA39 #78BA39
triadic
#B8BA39 #39B8BA #BA39B8
tetradic
#B8BA39 #39BA7B #3B39BA #BA3978
square
#B8BA39 #39BA7B #3B39BA #BA3978
split-complementary
#B8BA39 #3978BA #7B39BA
monochromatic
#5B5C1C #8A8B2B #B8BA39 #CDCF61 #DCDD90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BA39#FFFFFF#000000##000000
##B8BA391.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)
#C9B224
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C5AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba39;
/* rgb */ color: rgb(184, 186, 57);
/* oklch */ color: oklch(76.4% 0.147 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1ce78',
    500: '#b8ba39',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba39;
$custom-light: #d1ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba39",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 60.93,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.14668,
    "h": 110.3
  },
  "luminance": 0.45604
}

Semantic roles & 50–950 ramp

primary
#B8BA39
secondary
#8887C8
accent
#4BDC4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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