#B3BF42#B3BF42

#B3BF42 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.147 H 114.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B3BF42
RGBrgb(179, 191, 66)
HSLhsl(66, 49%, 50%)
HSVhsv(66, 65%, 75%)
CMYKcmyk(6.3%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.34, -20.40, 59.19)
CIE-LCHlch(74.34, 62.61, 109.02°)
OKLaboklab(77.18% -0.0612 0.1338)
OKLCHoklch(77.18% 0.147 114.6)
XYZxyz(38.2055, 47.2393, 12.2587)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BF42 #4E42BF
analogous
#BF8C42 #B3BF42 #74BF42
triadic
#B3BF42 #42B3BF #BF42B3
tetradic
#B3BF42 #42BF8C #4E42BF #BF4274
square
#B3BF42 #42BF8C #4E42BF #BF4274
split-complementary
#B3BF42 #4274BF #8C42BF
monochromatic
#5E6522 #899232 #B3BF42 #C5CE70 #D8DE9D

Accessibility & contrast

On white

2.01
#B3BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B3BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BF42
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BF42#FFFFFF#000000##000000
##B3BF421.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#BEB4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b3bf42;
/* rgb */ color: rgb(179, 191, 66);
/* oklch */ color: oklch(77.2% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#cdd27d',
    500: '#b3bf42',
    950: '#000000',
  },
}
SCSS
$custom: #b3bf42;
$custom-light: #cdd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bf42",
  "rgb": {
    "r": 179,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 65.76,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77179,
    "c": 0.14709,
    "h": 114.6
  },
  "luminance": 0.47239
}

Semantic roles & 50–950 ramp

primary
#B3BF42
secondary
#9893CA
accent
#4FD95C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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