#B6BA34#B6BA34

#B6BA34 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.2% C 0.150 H 111.2°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B6BA34
RGBrgb(182, 186, 52)
HSLhsl(62, 56%, 47%)
HSVhsv(62, 72%, 73%)
CMYKcmyk(2.2%, 0%, 72%, 27.1%)
CIE-LABlab(73.10, -17.41, 63.32)
CIE-LCHlch(73.10, 65.67, 105.38°)
OKLaboklab(76.21% -0.0543 0.1401)
OKLCHoklch(76.21% 0.15 111.2)
XYZxyz(37.4714, 45.3118, 10.0203)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA34 #3834BA
analogous
#BA7B34 #B6BA34 #73BA34
triadic
#B6BA34 #34B6BA #BA34B6
tetradic
#B6BA34 #34BA7B #3834BA #BA3473
square
#B6BA34 #34BA7B #3834BA #BA3473
split-complementary
#B6BA34 #3473BA #7B34BA
monochromatic
#585A19 #878A27 #B6BA34 #CDD15A #DCDE8A

Accessibility & contrast

On white

2.09
#B6BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B6BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BA34
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BA34#FFFFFF#000000##000000
##B6BA341.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21B
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#C3AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba34;
/* rgb */ color: rgb(182, 186, 52);
/* oklch */ color: oklch(76.2% 0.150 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfce75',
    500: '#b6ba34',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba34;
$custom-light: #cfce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba34",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 61.791,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7621,
    "c": 0.15026,
    "h": 111.2
  },
  "luminance": 0.45311
}

Semantic roles & 50–950 ramp

primary
#B6BA34
secondary
#8481C8
accent
#48E04D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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