#B6BF2A#B6BF2A

#B6BF2A is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.161 H 113.2°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B6BF2A
RGBrgb(182, 191, 42)
HSLhsl(64, 64%, 46%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(4.7%, 0%, 78%, 25.1%)
CIE-LABlab(74.43, -20.34, 67.79)
CIE-LCHlch(74.43, 70.77, 106.70°)
OKLaboklab(77.26% -0.0633 0.1478)
OKLCHoklch(77.26% 0.161 113.2)
XYZxyz(38.3414, 47.3747, 9.3145)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BF2A #332ABF
analogous
#BF7D2A #B6BF2A #6BBF2A
triadic
#B6BF2A #2AB6BF #BF2AB6
tetradic
#B6BF2A #2ABF7D #332ABF #BF2A6B
square
#B6BF2A #2ABF7D #332ABF #BF2A6B
split-complementary
#B6BF2A #2A6BBF #7D2ABF
monochromatic
#565B14 #868D1F #B6BF2A #D0D84E #DDE380

Accessibility & contrast

On white

2.00
#B6BF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#B6BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BF2A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BF2A#FFFFFF#000000##000000
##B6BF2A1.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b6bf2a;
/* rgb */ color: rgb(182, 191, 42);
/* oklch */ color: oklch(77.3% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d271',
    500: '#b6bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #b6bf2a;
$custom-light: #d0d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bf2a",
  "rgb": {
    "r": 182,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 63.624,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7726,
    "c": 0.16078,
    "h": 113.2
  },
  "luminance": 0.47374
}

Semantic roles & 50–950 ramp

primary
#B6BF2A
secondary
#7E79CC
accent
#41E74B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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