#B3BF2A#B3BF2A

#B3BF2A is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.162 H 114.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B3BF2A
RGBrgb(179, 191, 42)
HSLhsl(65, 64%, 46%)
HSVhsv(65, 78%, 75%)
CMYKcmyk(6.3%, 0%, 78%, 25.1%)
CIE-LABlab(74.20, -21.61, 67.49)
CIE-LCHlch(74.20, 70.87, 107.75°)
OKLaboklab(77.02% -0.0667 0.1473)
OKLCHoklch(77.02% 0.162 114.4)
XYZxyz(37.6403, 47.0132, 9.2817)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BF2A #362ABF
analogous
#BF802A #B3BF2A #68BF2A
triadic
#B3BF2A #2AB3BF #BF2AB3
tetradic
#B3BF2A #2ABF80 #362ABF #BF2A68
square
#B3BF2A #2ABF80 #362ABF #BF2A68
split-complementary
#B3BF2A #2A68BF #802ABF
monochromatic
#555B14 #848D1F #B3BF2A #CDD84E #DBE380

Accessibility & contrast

On white

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

On black

10.40
#B3BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BF2A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BF2A#FFFFFF#000000##000000
##B3BF2A1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#BFB3A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b3bf2a;
/* rgb */ color: rgb(179, 191, 42);
/* oklch */ color: oklch(77.0% 0.162 114.4);
Tailwind
colors: {
  custom: {
    50: '#ced271',
    500: '#b3bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #b3bf2a;
$custom-light: #ced271;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bf2a",
  "rgb": {
    "r": 179,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 64.832,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77018,
    "c": 0.16167,
    "h": 114.4
  },
  "luminance": 0.47012
}

Semantic roles & 50–950 ramp

primary
#B3BF2A
secondary
#8079CC
accent
#41E74E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B3BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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