#B7C531#B7C531

#B7C531 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.163 H 115.0°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#B7C531
RGBrgb(183, 197, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 77%)
CMYKcmyk(7.1%, 0%, 75.1%, 22.7%)
CIE-LABlab(76.21, -22.59, 67.29)
CIE-LCHlch(76.21, 70.98, 108.55°)
OKLaboklab(78.71% -0.069 0.1479)
OKLCHoklch(78.71% 0.163 115)
XYZxyz(40.0502, 50.2222, 10.4892)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C531 #3F31C5
analogous
#C58931 #B7C531 #6DC531
triadic
#B7C531 #31B7C5 #C531B7
tetradic
#B7C531 #31C589 #3F31C5 #C5316D
square
#B7C531 #31C589 #3F31C5 #C5316D
split-complementary
#B7C531 #316DC5 #8931C5
monochromatic
#5C6319 #899425 #B7C531 #CBD75D #DBE38E

Accessibility & contrast

On white

1.90
#B7C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#B7C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C531
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C531#FFFFFF#000000##000000
##B7C5311.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0C
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c531;
/* rgb */ color: rgb(183, 197, 49);
/* oklch */ color: oklch(78.7% 0.163 115.0);
Tailwind
colors: {
  custom: {
    50: '#d0d675',
    500: '#b7c531',
    950: '#000000',
  },
}
SCSS
$custom: #b7c531;
$custom-light: #d0d675;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c531",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 65.676,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78714,
    "c": 0.16324,
    "h": 115
  },
  "luminance": 0.50222
}

Semantic roles & 50–950 ramp

primary
#B7C531
secondary
#332D6E
accent
#44E354
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C531

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

Preview Lab → · Contrast checker → · Palette generator →

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