#B6BA2A#B6BA2A

#B6BA2A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.156 H 111.2°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B6BA2A
RGBrgb(182, 186, 42)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.2%, 0%, 77.4%, 27.1%)
CIE-LABlab(73.04, -17.84, 66.54)
CIE-LCHlch(73.04, 68.89, 105.01°)
OKLaboklab(76.15% -0.0564 0.1451)
OKLCHoklch(76.15% 0.156 111.2)
XYZxyz(37.2695, 45.2311, 8.9573)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA2A #2E2ABA
analogous
#BA762A #B6BA2A #6EBA2A
triadic
#B6BA2A #2AB6BA #BA2AB6
tetradic
#B6BA2A #2ABA76 #2E2ABA #BA2A6E
square
#B6BA2A #2ABA76 #2E2ABA #BA2A6E
split-complementary
#B6BA2A #2A6EBA #762ABA
monochromatic
#545613 #85881F #B6BA2A #D2D64B #DFE27D

Accessibility & contrast

On white

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

On black

10.05
#B6BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BA2A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BA2A#FFFFFF#000000##000000
##B6BA2A1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#C3AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba2a;
/* rgb */ color: rgb(182, 186, 42);
/* oklch */ color: oklch(76.1% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0ce70',
    500: '#b6ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba2a;
$custom-light: #d0ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba2a",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 61.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.1557,
    "h": 111.2
  },
  "luminance": 0.4523
}

Semantic roles & 50–950 ramp

primary
#B6BA2A
secondary
#7876CA
accent
#42E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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