#B7C232#B7C232

#B7C232 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.1% C 0.160 H 113.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#B7C232
RGBrgb(183, 194, 50)
HSLhsl(65, 59%, 48%)
HSVhsv(65, 74%, 76%)
CMYKcmyk(5.7%, 0%, 74.2%, 23.9%)
CIE-LABlab(75.38, -21.07, 66.19)
CIE-LCHlch(75.38, 69.47, 107.65°)
OKLaboklab(78.05% -0.0647 0.1458)
OKLCHoklch(78.05% 0.16 113.9)
XYZxyz(39.3971, 48.8819, 10.3768)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C232 #3D32C2
analogous
#C28532 #B7C232 #6FC232
triadic
#B7C232 #32B7C2 #C232B7
tetradic
#B7C232 #32C285 #3D32C2 #C2326F
square
#B7C232 #32C285 #3D32C2 #C2326F
split-complementary
#B7C232 #326FC2 #8532C2
monochromatic
#5B6119 #899125 #B7C232 #CCD55C #DBE28D

Accessibility & contrast

On white

1.95
#B7C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#B7C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C232
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C232#FFFFFF#000000##000000
##B7C2321.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B811
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#C3B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c232;
/* rgb */ color: rgb(183, 194, 50);
/* oklch */ color: oklch(78.1% 0.160 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d475',
    500: '#b7c232',
    950: '#000000',
  },
}
SCSS
$custom: #b7c232;
$custom-light: #d0d475;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c232",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 64.583,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78052,
    "c": 0.15951,
    "h": 113.9
  },
  "luminance": 0.48881
}

Semantic roles & 50–950 ramp

primary
#B7C232
secondary
#8984CC
accent
#46E252
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C232

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

Preview Lab → · Contrast checker → · Palette generator →

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