#B7BB24#B7BB24

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

Color values

HEX#B7BB24
RGBrgb(183, 187, 36)
HSLhsl(62, 68%, 44%)
HSVhsv(62, 81%, 73%)
CMYKcmyk(2.1%, 0%, 80.7%, 26.7%)
CIE-LABlab(73.37, -18.13, 68.57)
CIE-LCHlch(73.37, 70.92, 104.81°)
OKLaboklab(76.43% -0.0577 0.1484)
OKLCHoklch(76.43% 0.159 111.2)
XYZxyz(37.6186, 45.7363, 8.5151)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB24 #2824BB
analogous
#BB7324 #B7BB24 #6BBB24
triadic
#B7BB24 #24B7BB #BB24B7
tetradic
#B7BB24 #24BB73 #2824BB #BB246B
square
#B7BB24 #24BB73 #2824BB #BB246B
split-complementary
#B7BB24 #246BBB #7324BB
monochromatic
#535410 #85881A #B7BB24 #D6DB42 #E1E475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BB24#FFFFFF#000000##000000
##B7BB241.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)
#CBB633
Tritanopia (blue-blind)
#C4AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb24;
/* rgb */ color: rgb(183, 187, 36);
/* oklch */ color: oklch(76.4% 0.159 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf6e',
    500: '#b7bb24',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb24;
$custom-light: #d1cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb24",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 61.589,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76426,
    "c": 0.15918,
    "h": 111.2
  },
  "luminance": 0.45735
}

Semantic roles & 50–950 ramp

primary
#B7BB24
secondary
#726FCC
accent
#3DEB42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BB24

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

Preview Lab → · Contrast checker → · Palette generator →

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