#B7C831#B7C831

#B7C831 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.4% C 0.166 H 116.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#B7C831
RGBrgb(183, 200, 49)
HSLhsl(67, 61%, 49%)
HSVhsv(67, 76%, 78%)
CMYKcmyk(8.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.04, -24.05, 68.07)
CIE-LCHlch(77.04, 72.19, 109.46°)
OKLaboklab(79.38% -0.0731 0.1496)
OKLCHoklch(79.38% 0.166 116)
XYZxyz(40.7382, 51.5982, 10.7185)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C831 #4231C8
analogous
#C88E31 #B7C831 #6CC831
triadic
#B7C831 #31B7C8 #C831B7
tetradic
#B7C831 #31C88E #4231C8 #C8316C
square
#B7C831 #31C88E #4231C8 #C8316C
split-complementary
#B7C831 #316CC8 #8E31C8
monochromatic
#5D6619 #8A9725 #B7C831 #CAD85F #DAE490

Accessibility & contrast

On white

1.86
#B7C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#B7C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C831
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C831#FFFFFF#000000##000000
##B7C8311.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#C3BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c831;
/* rgb */ color: rgb(183, 200, 49);
/* oklch */ color: oklch(79.4% 0.166 116.0);
Tailwind
colors: {
  custom: {
    50: '#d0d875',
    500: '#b7c831',
    950: '#000000',
  },
}
SCSS
$custom: #b7c831;
$custom-light: #d0d875;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c831",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 66.755,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.16647,
    "h": 116
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#B7C831
secondary
#352D70
accent
#44E456
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C831

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

Preview Lab → · Contrast checker → · Palette generator →

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