#B7BB4A#B7BB4A

#B7BB4A is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.135 H 111.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B7BB4A
RGBrgb(183, 187, 74)
HSLhsl(62, 45%, 51%)
HSVhsv(62, 60%, 73%)
CMYKcmyk(2.1%, 0%, 60.4%, 26.7%)
CIE-LABlab(73.61, -16.20, 55.16)
CIE-LCHlch(73.61, 57.48, 106.36°)
OKLaboklab(76.69% -0.0487 0.1263)
OKLCHoklch(76.69% 0.135 111.1)
XYZxyz(38.5358, 46.1032, 13.3461)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB4A #4E4ABB
analogous
#BB864A #B7BB4A #7EBB4A
triadic
#B7BB4A #4AB7BB #BB4AB7
tetradic
#B7BB4A #4ABB86 #4E4ABB #BB4A7E
square
#B7BB4A #4ABB86 #4E4ABB #BB4A7E
split-complementary
#B7BB4A #4A7EBB #864ABB
monochromatic
#636526 #8E9137 #B7BB4A #C9CC76 #DADCA3

Accessibility & contrast

On white

2.05
#B7BB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B7BB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB4A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB4A#FFFFFF#000000##000000
##B7BB4A1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33D
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#C3B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb4a;
/* rgb */ color: rgb(183, 187, 74);
/* oklch */ color: oklch(76.7% 0.135 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf81',
    500: '#b7bb4a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb4a;
$custom-light: #cfcf81;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb4a",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 62.124,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76693,
    "c": 0.13538,
    "h": 111.1
  },
  "luminance": 0.46102
}

Semantic roles & 50–950 ramp

primary
#B7BB4A
secondary
#9997C9
accent
#53D557
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7BB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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