#B6C531#B6C531

#B6C531 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.6% C 0.164 H 115.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#B6C531
RGBrgb(182, 197, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 77%)
CMYKcmyk(7.6%, 0%, 75.1%, 22.7%)
CIE-LABlab(76.13, -23.00, 67.19)
CIE-LCHlch(76.13, 71.02, 108.90°)
OKLaboklab(78.64% -0.0701 0.1478)
OKLCHoklch(78.64% 0.164 115.4)
XYZxyz(39.8131, 50.1000, 10.4781)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C531 #4031C5
analogous
#C58A31 #B6C531 #6CC531
triadic
#B6C531 #31B6C5 #C531B6
tetradic
#B6C531 #31C58A #4031C5 #C5316C
square
#B6C531 #31C58A #4031C5 #C5316C
split-complementary
#B6C531 #316CC5 #8A31C5
monochromatic
#5B6319 #899425 #B6C531 #CAD75D #DAE38E

Accessibility & contrast

On white

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

On black

11.02
#B6C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C531
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C531#FFFFFF#000000##000000
##B6C5311.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0C
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#C2B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b6c531;
/* rgb */ color: rgb(182, 197, 49);
/* oklch */ color: oklch(78.6% 0.164 115.4);
Tailwind
colors: {
  custom: {
    50: '#d0d675',
    500: '#b6c531',
    950: '#000000',
  },
}
SCSS
$custom: #b6c531;
$custom-light: #d0d675;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c531",
  "rgb": {
    "r": 182,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 66.081,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78635,
    "c": 0.16356,
    "h": 115.4
  },
  "luminance": 0.50099
}

Semantic roles & 50–950 ramp

primary
#B6C531
secondary
#332D6E
accent
#44E355
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C531

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

Preview Lab → · Contrast checker → · Palette generator →

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