#B3C831#B3C831

#B3C831 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.1% C 0.168 H 117.5°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#B3C831
RGBrgb(179, 200, 49)
HSLhsl(68, 61%, 49%)
HSVhsv(68, 76%, 78%)
CMYKcmyk(10.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.75, -25.71, 67.69)
CIE-LCHlch(76.75, 72.41, 110.80°)
OKLaboklab(79.08% -0.0774 0.1489)
OKLCHoklch(79.08% 0.168 117.5)
XYZxyz(39.8000, 51.1145, 10.6746)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C831 #4631C8
analogous
#C89231 #B3C831 #68C831
triadic
#B3C831 #31B3C8 #C831B3
tetradic
#B3C831 #31C892 #4631C8 #C83168
square
#B3C831 #31C892 #4631C8 #C83168
split-complementary
#B3C831 #3168C8 #9231C8
monochromatic
#5B6619 #879725 #B3C831 #C7D85F #D8E490

Accessibility & contrast

On white

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

On black

11.22
#B3C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C831
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C831#FFFFFF#000000##000000
##B3C8311.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D4BE3F
Tritanopia (blue-blind)
#BEBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b3c831;
/* rgb */ color: rgb(179, 200, 49);
/* oklch */ color: oklch(79.1% 0.168 117.5);
Tailwind
colors: {
  custom: {
    50: '#cdd875',
    500: '#b3c831',
    950: '#000000',
  },
}
SCSS
$custom: #b3c831;
$custom-light: #cdd875;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c831",
  "rgb": {
    "r": 179,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 68.344,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.16785,
    "h": 117.5
  },
  "luminance": 0.51114
}

Semantic roles & 50–950 ramp

primary
#B3C831
secondary
#372D70
accent
#44E45A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B3C831

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

Preview Lab → · Contrast checker → · Palette generator →

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