#B6C526#B6C526

#B6C526 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.169 H 115.3°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B6C526
RGBrgb(182, 197, 38)
HSLhsl(66, 68%, 46%)
HSVhsv(66, 81%, 77%)
CMYKcmyk(7.6%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.08, -23.43, 70.36)
CIE-LCHlch(76.08, 74.16, 108.42°)
OKLaboklab(78.58% -0.0722 0.1526)
OKLCHoklch(78.58% 0.169 115.3)
XYZxyz(39.6087, 50.0182, 9.4013)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C526 #3526C5
analogous
#C58426 #B6C526 #66C526
triadic
#B6C526 #26B6C5 #C526B6
tetradic
#B6C526 #26C584 #3526C5 #C52666
square
#B6C526 #26C584 #3526C5 #C52666
split-complementary
#B6C526 #2666C5 #8426C5
monochromatic
#575E12 #87921C #B6C526 #CFDC4C #DDE67F

Accessibility & contrast

On white

1.91
#B6C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B6C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C526
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C526#FFFFFF#000000##000000
##B6C5261.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD36
Tritanopia (blue-blind)
#C2B9A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b6c526;
/* rgb */ color: rgb(182, 197, 38);
/* oklch */ color: oklch(78.6% 0.169 115.3);
Tailwind
colors: {
  custom: {
    50: '#d0d670',
    500: '#b6c526',
    950: '#000000',
  },
}
SCSS
$custom: #b6c526;
$custom-light: #d0d670;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c526",
  "rgb": {
    "r": 182,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 65.66,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78579,
    "c": 0.16881,
    "h": 115.3
  },
  "luminance": 0.50018
}

Semantic roles & 50–950 ramp

primary
#B6C526
secondary
#2C266A
accent
#3DEB4E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B6C526

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

Preview Lab → · Contrast checker → · Palette generator →

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