#B3BB40#B3BB40

#B3BB40 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.144 H 112.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B3BB40
RGBrgb(179, 187, 64)
HSLhsl(64, 49%, 49%)
HSVhsv(64, 66%, 73%)
CMYKcmyk(4.3%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.22, -18.53, 58.83)
CIE-LCHlch(73.22, 61.68, 107.48°)
OKLaboklab(76.27% -0.0561 0.1327)
OKLCHoklch(76.27% 0.144 112.9)
XYZxyz(37.2872, 45.4953, 11.6667)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BB40 #4840BB
analogous
#BB8540 #B3BB40 #76BB40
triadic
#B3BB40 #40B3BB #BB40B3
tetradic
#B3BB40 #40BB85 #4840BB #BB4076
square
#B3BB40 #40BB85 #4840BB #BB4076
split-complementary
#B3BB40 #4076BB #8540BB
monochromatic
#5C6021 #878D30 #B3BB40 #C6CD6C #D8DC99

Accessibility & contrast

On white

2.08
#B3BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B3BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BB40
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BB40#FFFFFF#000000##000000
##B3BB401.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22F
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#BFB0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b3bb40;
/* rgb */ color: rgb(179, 187, 64);
/* oklch */ color: oklch(76.3% 0.144 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdcf7b',
    500: '#b3bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b3bb40;
$custom-light: #cdcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bb40",
  "rgb": {
    "r": 179,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 63.902,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76273,
    "c": 0.14409,
    "h": 112.9
  },
  "luminance": 0.45495
}

Semantic roles & 50–950 ramp

primary
#B3BB40
secondary
#928FC8
accent
#4FD958
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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