#B6C731#B6C731

#B6C731 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.166 H 116.1°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B6C731
RGBrgb(182, 199, 49)
HSLhsl(67, 60%, 49%)
HSVhsv(67, 75%, 78%)
CMYKcmyk(8.5%, 0%, 75.4%, 22%)
CIE-LABlab(76.69, -23.98, 67.71)
CIE-LCHlch(76.69, 71.83, 109.50°)
OKLaboklab(79.08% -0.0728 0.1489)
OKLCHoklch(79.08% 0.166 116.1)
XYZxyz(40.2703, 51.0143, 10.6305)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C731 #4231C7
analogous
#C78D31 #B6C731 #6BC731
triadic
#B6C731 #31B6C7 #C731B6
tetradic
#B6C731 #31C78D #4231C7 #C7316B
square
#B6C731 #31C78D #4231C7 #C7316B
split-complementary
#B6C731 #316BC7 #8D31C7
monochromatic
#5C6519 #899625 #B6C731 #CAD75E #DAE38F

Accessibility & contrast

On white

1.87
#B6C731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B6C731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C731
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C731#FFFFFF#000000##000000
##B6C7311.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0A
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#C2BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b6c731;
/* rgb */ color: rgb(182, 199, 49);
/* oklch */ color: oklch(79.1% 0.166 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d775',
    500: '#b6c731',
    950: '#000000',
  },
}
SCSS
$custom: #b6c731;
$custom-light: #d0d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c731",
  "rgb": {
    "r": 182,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 66.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79083,
    "c": 0.16573,
    "h": 116.1
  },
  "luminance": 0.51014
}

Semantic roles & 50–950 ramp

primary
#B6C731
secondary
#352D6F
accent
#44E456
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C731

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

Preview Lab → · Contrast checker → · Palette generator →

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