#B7BB40#B7BB40

#B7BB40 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.143 H 111.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B7BB40
RGBrgb(183, 187, 64)
HSLhsl(62, 49%, 49%)
HSVhsv(62, 66%, 73%)
CMYKcmyk(2.1%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.53, -16.84, 59.25)
CIE-LCHlch(73.53, 61.60, 105.87°)
OKLaboklab(76.6% -0.0516 0.1335)
OKLCHoklch(76.6% 0.143 111.1)
XYZxyz(38.2253, 45.9790, 11.7107)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB40 #4440BB
analogous
#BB8240 #B7BB40 #7ABB40
triadic
#B7BB40 #40B7BB #BB40B7
tetradic
#B7BB40 #40BB82 #4440BB #BB407A
square
#B7BB40 #40BB82 #4440BB #BB407A
split-complementary
#B7BB40 #407ABB #8240BB
monochromatic
#5E6021 #8A8D30 #B7BB40 #C9CD6C #DADC99

Accessibility & contrast

On white

2.06
#B7BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#B7BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB40
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB40#FFFFFF#000000##000000
##B7BB401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#C3B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb40;
/* rgb */ color: rgb(183, 187, 64);
/* oklch */ color: oklch(76.6% 0.143 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0cf7b',
    500: '#b7bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb40;
$custom-light: #d0cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb40",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 61.951,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.14312,
    "h": 111.1
  },
  "luminance": 0.45978
}

Semantic roles & 50–950 ramp

primary
#B7BB40
secondary
#918FC8
accent
#4FD954
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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