#B8BA20#B8BA20

#B8BA20 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.160 H 110.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B8BA20
RGBrgb(184, 186, 32)
HSLhsl(61, 71%, 43%)
HSVhsv(61, 83%, 73%)
CMYKcmyk(1.1%, 0%, 82.8%, 27.1%)
CIE-LABlab(73.16, -17.32, 69.44)
CIE-LCHlch(73.16, 71.56, 104.00°)
OKLaboklab(76.27% -0.0558 0.1495)
OKLCHoklch(76.27% 0.16 110.5)
XYZxyz(37.5882, 45.4136, 8.1519)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA20 #2220BA
analogous
#BA6F20 #B8BA20 #6BBA20
triadic
#B8BA20 #20B8BA #BA20B8
tetradic
#B8BA20 #20BA6F #2220BA #BA206B
square
#B8BA20 #20BA6F #2220BA #BA206B
split-complementary
#B8BA20 #206BBA #6F20BA
monochromatic
#51520E #848617 #B8BA20 #DBDD3A #E5E66E

Accessibility & contrast

On white

2.08
#B8BA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B8BA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA20
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA20#FFFFFF#000000##000000
##B8BA201.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CBB630
Tritanopia (blue-blind)
#C6AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba20;
/* rgb */ color: rgb(184, 186, 32);
/* oklch */ color: oklch(76.3% 0.160 110.5);
Tailwind
colors: {
  custom: {
    50: '#d1ce6c',
    500: '#b8ba20',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba20;
$custom-light: #d1ce6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba20",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 32
  },
  "hsl": {
    "h": 60.779,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.15956,
    "h": 110.5
  },
  "luminance": 0.45412
}

Semantic roles & 50–950 ramp

primary
#B8BA20
secondary
#6B69CC
accent
#3AED3D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BA20

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

Preview Lab → · Contrast checker → · Palette generator →

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