#B3C331#B3C331

#B3C331 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.162 H 115.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#B3C331
RGBrgb(179, 195, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(8.2%, 0%, 74.9%, 23.5%)
CIE-LABlab(75.35, -23.28, 66.39)
CIE-LCHlch(75.35, 70.35, 109.33°)
OKLaboklab(77.95% -0.0707 0.1462)
OKLCHoklch(77.95% 0.162 115.8)
XYZxyz(38.6609, 48.8363, 10.2949)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C331 #4131C3
analogous
#C38A31 #B3C331 #6AC331
triadic
#B3C331 #31B3C3 #C331B3
tetradic
#B3C331 #31C38A #4131C3 #C3316A
square
#B3C331 #31C38A #4131C3 #C3316A
split-complementary
#B3C331 #316AC3 #8A31C3
monochromatic
#596118 #869225 #B3C331 #C8D65B #D9E28C

Accessibility & contrast

On white

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

On black

10.77
#B3C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C331
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C331#FFFFFF#000000##000000
##B3C3311.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3c331;
/* rgb */ color: rgb(179, 195, 49);
/* oklch */ color: oklch(78.0% 0.162 115.8);
Tailwind
colors: {
  custom: {
    50: '#cdd574',
    500: '#b3c331',
    950: '#000000',
  },
}
SCSS
$custom: #b3c331;
$custom-light: #cdd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c331",
  "rgb": {
    "r": 179,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 66.575,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77953,
    "c": 0.16237,
    "h": 115.8
  },
  "luminance": 0.48836
}

Semantic roles & 50–950 ramp

primary
#B3C331
secondary
#8B83CC
accent
#45E356
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B3C331

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

Preview Lab → · Contrast checker → · Palette generator →

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