#B6C02A#B6C02A

#B6C02A is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.162 H 113.6°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B6C02A
RGBrgb(182, 192, 42)
HSLhsl(64, 64%, 46%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(5.2%, 0%, 78.1%, 24.7%)
CIE-LABlab(74.71, -20.83, 68.04)
CIE-LCHlch(74.71, 71.15, 107.02°)
OKLaboklab(77.48% -0.0647 0.1483)
OKLCHoklch(77.48% 0.162 113.6)
XYZxyz(38.5602, 47.8124, 9.3875)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C02A #342AC0
analogous
#C07F2A #B6C02A #6BC02A
triadic
#B6C02A #2AB6C0 #C02AB6
tetradic
#B6C02A #2AC07F #342AC0 #C02A6B
square
#B6C02A #2AC07F #342AC0 #C02A6B
split-complementary
#B6C02A #2A6BC0 #7F2AC0
monochromatic
#575C14 #868E1F #B6C02A #CFD84F #DDE381

Accessibility & contrast

On white

1.99
#B6C02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#B6C02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C02A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C02A#FFFFFF#000000##000000
##B6C02A1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C3B4A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b6c02a;
/* rgb */ color: rgb(182, 192, 42);
/* oklch */ color: oklch(77.5% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d271',
    500: '#b6c02a',
    950: '#000000',
  },
}
SCSS
$custom: #b6c02a;
$custom-light: #d0d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c02a",
  "rgb": {
    "r": 182,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 64,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77482,
    "c": 0.16181,
    "h": 113.6
  },
  "luminance": 0.47812
}

Semantic roles & 50–950 ramp

primary
#B6C02A
secondary
#7F7ACC
accent
#41E74C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6C02A

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

Preview Lab → · Contrast checker → · Palette generator →

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