#B7C932#B7C932

#B7C932 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.167 H 116.4°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#B7C932
RGBrgb(183, 201, 50)
HSLhsl(67, 60%, 49%)
HSVhsv(67, 75%, 79%)
CMYKcmyk(9%, 0%, 75.1%, 21.2%)
CIE-LABlab(77.32, -24.49, 68.01)
CIE-LCHlch(77.32, 72.29, 109.80°)
OKLaboklab(79.61% -0.0742 0.1496)
OKLCHoklch(79.61% 0.167 116.4)
XYZxyz(40.9919, 52.0714, 10.9084)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C932 #4432C9
analogous
#C99032 #B7C932 #6CC932
triadic
#B7C932 #32B7C9 #C932B7
tetradic
#B7C932 #32C990 #4432C9 #C9326C
square
#B7C932 #32C990 #4432C9 #C9326C
split-complementary
#B7C932 #326CC9 #9032C9
monochromatic
#5E671A #8A9826 #B7C932 #C9D861 #DAE492

Accessibility & contrast

On white

1.84
#B7C932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#B7C932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C932
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C932#FFFFFF#000000##000000
##B7C9321.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0C
Deuteranopia (green-blind)
#D6C03F
Tritanopia (blue-blind)
#C3BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c932;
/* rgb */ color: rgb(183, 201, 50);
/* oklch */ color: oklch(79.6% 0.167 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d976',
    500: '#b7c932',
    950: '#000000',
  },
}
SCSS
$custom: #b7c932;
$custom-light: #d0d976;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c932",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 67.152,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79613,
    "c": 0.16703,
    "h": 116.4
  },
  "luminance": 0.52071
}

Semantic roles & 50–950 ramp

primary
#B7C932
secondary
#362E71
accent
#44E357
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C932

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

Preview Lab → · Contrast checker → · Palette generator →

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