#B3BF31#B3BF31

#B3BF31 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.158 H 114.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#B3BF31
RGBrgb(179, 191, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 75%)
CMYKcmyk(6.3%, 0%, 74.3%, 25.1%)
CIE-LABlab(74.23, -21.32, 65.34)
CIE-LCHlch(74.23, 68.73, 108.07°)
OKLaboklab(77.06% -0.0653 0.1439)
OKLCHoklch(77.06% 0.158 114.4)
XYZxyz(37.7767, 47.0678, 10.0001)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BF31 #3D31BF
analogous
#BF8431 #B3BF31 #6CBF31
triadic
#B3BF31 #31B3BF #BF31B3
tetradic
#B3BF31 #31BF84 #3D31BF #BF316C
square
#B3BF31 #31BF84 #3D31BF #BF316C
split-complementary
#B3BF31 #316CBF #8431BF
monochromatic
#585E18 #858E25 #B3BF31 #CAD459 #D9E18A

Accessibility & contrast

On white

2.02
#B3BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#B3BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BF31
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BF31#FFFFFF#000000##000000
##B3BF311.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#BFB4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b3bf31;
/* rgb */ color: rgb(179, 191, 49);
/* oklch */ color: oklch(77.1% 0.158 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd274',
    500: '#b3bf31',
    950: '#000000',
  },
}
SCSS
$custom: #b3bf31;
$custom-light: #cdd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bf31",
  "rgb": {
    "r": 179,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 65.07,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77057,
    "c": 0.15805,
    "h": 114.4
  },
  "luminance": 0.47067
}

Semantic roles & 50–950 ramp

primary
#B3BF31
secondary
#8781CB
accent
#45E253
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B3BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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