#B6BA2B#B6BA2B

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

Color values

HEX#B6BA2B
RGBrgb(182, 186, 43)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.2%, 0%, 76.9%, 27.1%)
CIE-LABlab(73.05, -17.80, 66.24)
CIE-LCHlch(73.05, 68.59, 105.04°)
OKLaboklab(76.16% -0.0562 0.1447)
OKLCHoklch(76.16% 0.155 111.2)
XYZxyz(37.2877, 45.2383, 9.0527)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA2B #2F2BBA
analogous
#BA762B #B6BA2B #6FBA2B
triadic
#B6BA2B #2BB6BA #BA2BB6
tetradic
#B6BA2B #2BBA76 #2F2BBA #BA2B6F
square
#B6BA2B #2BBA76 #2F2BBA #BA2B6F
split-complementary
#B6BA2B #2B6FBA #762BBA
monochromatic
#555714 #858820 #B6BA2B #D2D64C #DEE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6BA2B#FFFFFF#000000##000000
##B6BA2B1.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)
#CAB538
Tritanopia (blue-blind)
#C3AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba2b;
/* rgb */ color: rgb(182, 186, 43);
/* oklch */ color: oklch(76.2% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0ce71',
    500: '#b6ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba2b;
$custom-light: #d0ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba2b",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 61.678,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76156,
    "c": 0.15521,
    "h": 111.2
  },
  "luminance": 0.45237
}

Semantic roles & 50–950 ramp

primary
#B6BA2B
secondary
#7977CA
accent
#42E647
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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