#B7BB2F#B7BB2F

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

Color values

HEX#B7BB2F
RGBrgb(183, 187, 47)
HSLhsl(62, 60%, 46%)
HSVhsv(62, 75%, 73%)
CMYKcmyk(2.1%, 0%, 74.9%, 26.7%)
CIE-LABlab(73.42, -17.71, 65.35)
CIE-LCHlch(73.42, 67.71, 105.17°)
OKLaboklab(76.48% -0.0557 0.1435)
OKLCHoklch(76.48% 0.154 111.2)
XYZxyz(37.8132, 45.8142, 9.5399)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB2F #332FBB
analogous
#BB792F #B7BB2F #71BB2F
triadic
#B7BB2F #2FB7BB #BB2FB7
tetradic
#B7BB2F #2FBB79 #332FBB #BB2F71
square
#B7BB2F #2FBB79 #332FBB #BB2F71
split-complementary
#B7BB2F #2F71BB #792FBB
monochromatic
#575916 #878A23 #B7BB2F #D0D453 #DEE084

Accessibility & contrast

On white

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

On black

10.16
#B7BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB2F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB2F#FFFFFF#000000##000000
##B7BB2F1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB20D
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#C4AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb2f;
/* rgb */ color: rgb(183, 187, 47);
/* oklch */ color: oklch(76.5% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf73',
    500: '#b7bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb2f;
$custom-light: #d0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb2f",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 61.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.15389,
    "h": 111.2
  },
  "luminance": 0.45813
}

Semantic roles & 50–950 ramp

primary
#B7BB2F
secondary
#7F7CC9
accent
#45E349
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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