#B6CF31#B6CF31

#B6CF31 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 80.9% C 0.174 H 118.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#B6CF31
RGBrgb(182, 207, 49)
HSLhsl(69, 62%, 50%)
HSVhsv(69, 76%, 81%)
CMYKcmyk(12.1%, 0%, 76.3%, 18.8%)
CIE-LABlab(78.92, -27.83, 69.78)
CIE-LCHlch(78.92, 75.12, 111.74°)
OKLaboklab(80.88% -0.0834 0.1532)
OKLCHoklch(80.88% 0.174 118.6)
XYZxyz(42.1596, 54.7928, 11.2602)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CF31 #4A31CF
analogous
#CF9931 #B6CF31 #67CF31
triadic
#B6CF31 #31B6CF #CF31B6
tetradic
#B6CF31 #31CF99 #4A31CF #CF3167
square
#B6CF31 #31CF99 #4A31CF #CF3167
split-complementary
#B6CF31 #3167CF #9931CF
monochromatic
#5F6C19 #8B9E25 #B6CF31 #C8DB63 #D9E694

Accessibility & contrast

On white

1.76
#B6CF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#B6CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CF31
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CF31#FFFFFF#000000##000000
##B6CF311.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC302
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#C1C3B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b6cf31;
/* rgb */ color: rgb(182, 207, 49);
/* oklch */ color: oklch(80.9% 0.174 118.6);
Tailwind
colors: {
  custom: {
    50: '#d0dd76',
    500: '#b6cf31',
    950: '#000000',
  },
}
SCSS
$custom: #b6cf31;
$custom-light: #d0dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cf31",
  "rgb": {
    "r": 182,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 69.494,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80879,
    "c": 0.17448,
    "h": 118.6
  },
  "luminance": 0.54792
}

Semantic roles & 50–950 ramp

primary
#B6CF31
secondary
#3A2E76
accent
#43E55C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B6CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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