#B7C732#B7C732

#B7C732 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.165 H 115.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B7C732
RGBrgb(183, 199, 50)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(8%, 0%, 74.9%, 22%)
CIE-LABlab(76.77, -23.52, 67.49)
CIE-LCHlch(76.77, 71.47, 109.21°)
OKLaboklab(79.17% -0.0715 0.1485)
OKLCHoklch(79.17% 0.165 115.7)
XYZxyz(40.5287, 51.1451, 10.7540)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C732 #4232C7
analogous
#C78D32 #B7C732 #6DC732
triadic
#B7C732 #32B7C7 #C732B7
tetradic
#B7C732 #32C78D #4232C7 #C7326D
square
#B7C732 #32C78D #4232C7 #C7326D
split-complementary
#B7C732 #326DC7 #8D32C7
monochromatic
#5D6519 #8A9626 #B7C732 #CAD75F #DAE390

Accessibility & contrast

On white

1.87
#B7C732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#B7C732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C732
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C732#FFFFFF#000000##000000
##B7C7321.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0E
Deuteranopia (green-blind)
#D4BF3F
Tritanopia (blue-blind)
#C3BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c732;
/* rgb */ color: rgb(183, 199, 50);
/* oklch */ color: oklch(79.2% 0.165 115.7);
Tailwind
colors: {
  custom: {
    50: '#d0d775',
    500: '#b7c732',
    950: '#000000',
  },
}
SCSS
$custom: #b7c732;
$custom-light: #d0d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c732",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 66.443,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.16486,
    "h": 115.7
  },
  "luminance": 0.51144
}

Semantic roles & 50–950 ramp

primary
#B7C732
secondary
#352E70
accent
#45E356
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C732

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

Preview Lab → · Contrast checker → · Palette generator →

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