#B6BF31#B6BF31

#B6BF31 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.157 H 113.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#B6BF31
RGBrgb(182, 191, 49)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 75%)
CMYKcmyk(4.7%, 0%, 74.3%, 25.1%)
CIE-LABlab(74.46, -20.05, 65.64)
CIE-LCHlch(74.46, 68.63, 106.99°)
OKLaboklab(77.3% -0.0619 0.1445)
OKLCHoklch(77.3% 0.157 113.2)
XYZxyz(38.4778, 47.4293, 10.0330)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BF31 #3A31BF
analogous
#BF8131 #B6BF31 #6FBF31
triadic
#B6BF31 #31B6BF #BF31B6
tetradic
#B6BF31 #31BF81 #3A31BF #BF316F
square
#B6BF31 #31BF81 #3A31BF #BF316F
split-complementary
#B6BF31 #316FBF #8131BF
monochromatic
#595E18 #888E25 #B6BF31 #CDD459 #DBE18A

Accessibility & contrast

On white

2.00
#B6BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#B6BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BF31
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BF31#FFFFFF#000000##000000
##B6BF311.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB611
Deuteranopia (green-blind)
#CDB93D
Tritanopia (blue-blind)
#C2B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b6bf31;
/* rgb */ color: rgb(182, 191, 49);
/* oklch */ color: oklch(77.3% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d274',
    500: '#b6bf31',
    950: '#000000',
  },
}
SCSS
$custom: #b6bf31;
$custom-light: #d0d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bf31",
  "rgb": {
    "r": 182,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 63.803,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77298,
    "c": 0.15718,
    "h": 113.2
  },
  "luminance": 0.47428
}

Semantic roles & 50–950 ramp

primary
#B6BF31
secondary
#8681CB
accent
#45E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B6BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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