#B7BB2A#B7BB2A

#B7BB2A is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.156 H 111.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B7BB2A
RGBrgb(183, 187, 42)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 78%, 73%)
CMYKcmyk(2.1%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.40, -17.92, 66.89)
CIE-LCHlch(73.40, 69.25, 104.99°)
OKLaboklab(76.46% -0.0566 0.1458)
OKLCHoklch(76.46% 0.156 111.2)
XYZxyz(37.7180, 45.7761, 9.0388)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB2A #2E2ABB
analogous
#BB762A #B7BB2A #6FBB2A
triadic
#B7BB2A #2AB7BB #BB2AB7
tetradic
#B7BB2A #2ABB76 #2E2ABB #BB2A6F
square
#B7BB2A #2ABB76 #2E2ABB #BB2A6F
split-complementary
#B7BB2A #2A6FBB #762ABB
monochromatic
#555714 #86891F #B7BB2A #D3D74C #DFE27D

Accessibility & contrast

On white

2.07
#B7BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#B7BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB2A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB2A#FFFFFF#000000##000000
##B7BB2A1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#C4AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb2a;
/* rgb */ color: rgb(183, 187, 42);
/* oklch */ color: oklch(76.5% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf70',
    500: '#b7bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb2a;
$custom-light: #d0cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb2a",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 61.655,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76455,
    "c": 0.15646,
    "h": 111.2
  },
  "luminance": 0.45775
}

Semantic roles & 50–950 ramp

primary
#B7BB2A
secondary
#7976CA
accent
#41E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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