#B7BB57#B7BB57

#B7BB57 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.124 H 111.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B7BB57
RGBrgb(183, 187, 87)
HSLhsl(62, 42%, 54%)
HSVhsv(62, 53%, 73%)
CMYKcmyk(2.1%, 0%, 53.5%, 26.7%)
CIE-LABlab(73.74, -15.19, 49.41)
CIE-LCHlch(73.74, 51.69, 107.09°)
OKLaboklab(76.83% -0.0445 0.1156)
OKLCHoklch(76.83% 0.124 111.1)
XYZxyz(39.0199, 46.2969, 15.8957)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB57 #5B57BB
analogous
#BB8D57 #B7BB57 #85BB57
triadic
#B7BB57 #57B7BB #BB57B7
tetradic
#B7BB57 #57BB8D #5B57BB #BB5785
square
#B7BB57 #57BB8D #5B57BB #BB5785
split-complementary
#B7BB57 #5785BB #8D57BB
monochromatic
#696C2C #94973D #B7BB57 #CACD83 #DCDEAE

Accessibility & contrast

On white

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

On black

10.26
#B7BB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB57
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB57#FFFFFF#000000##000000
##B7BB571.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44D
Deuteranopia (green-blind)
#C8B75C
Tritanopia (blue-blind)
#C2B1A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb57;
/* rgb */ color: rgb(183, 187, 87);
/* oklch */ color: oklch(76.8% 0.124 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf89',
    500: '#b7bb57',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb57;
$custom-light: #cfcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb57",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 62.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.12386,
    "h": 111.1
  },
  "luminance": 0.46296
}

Semantic roles & 50–950 ramp

primary
#B7BB57
secondary
#A3A2CC
accent
#56D25B
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B7BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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