#B7BB23#B7BB23

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

Color values

HEX#B7BB23
RGBrgb(183, 187, 35)
HSLhsl(62, 68%, 44%)
HSVhsv(62, 81%, 73%)
CMYKcmyk(2.1%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.37, -18.16, 68.83)
CIE-LCHlch(73.37, 71.18, 104.78°)
OKLaboklab(76.42% -0.0578 0.1487)
OKLCHoklch(76.42% 0.16 111.3)
XYZxyz(37.6035, 45.7303, 8.4358)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB23 #2723BB
analogous
#BB7323 #B7BB23 #6BBB23
triadic
#B7BB23 #23B7BB #BB23B7
tetradic
#B7BB23 #23BB73 #2723BB #BB236B
square
#B7BB23 #23BB73 #2723BB #BB236B
split-complementary
#B7BB23 #236BBB #7323BB
monochromatic
#525410 #858719 #B7BB23 #D7DB40 #E2E574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b7bb23;
/* rgb */ color: rgb(183, 187, 35);
/* oklch */ color: oklch(76.4% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#d1cf6e',
    500: '#b7bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb23;
$custom-light: #d1cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb23",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 61.579,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76422,
    "c": 0.15959,
    "h": 111.3
  },
  "luminance": 0.45729
}

Semantic roles & 50–950 ramp

primary
#B7BB23
secondary
#706ECC
accent
#3CEB41
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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