#B2C131#B2C131

#B2C131 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.161 H 115.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B2C131
RGBrgb(178, 193, 49)
HSLhsl(66, 60%, 47%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.8%, 0%, 74.6%, 24.3%)
CIE-LABlab(74.72, -22.72, 65.77)
CIE-LCHlch(74.72, 69.58, 109.06°)
OKLaboklab(77.43% -0.0691 0.1449)
OKLCHoklch(77.43% 0.161 115.5)
XYZxyz(37.9855, 47.8273, 10.1357)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C131 #4031C1
analogous
#C18831 #B2C131 #6AC131
triadic
#B2C131 #31B2C1 #C131B2
tetradic
#B2C131 #31C188 #4031C1 #C1316A
square
#B2C131 #31C188 #4031C1 #C1316A
split-complementary
#B2C131 #316AC1 #8831C1
monochromatic
#585F18 #859025 #B2C131 #C8D55A #D8E28B

Accessibility & contrast

On white

1.99
#B2C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B2C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C131
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C131#FFFFFF#000000##000000
##B2C1311.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#BEB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c131;
/* rgb */ color: rgb(178, 193, 49);
/* oklch */ color: oklch(77.4% 0.161 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd374',
    500: '#b2c131',
    950: '#000000',
  },
}
SCSS
$custom: #b2c131;
$custom-light: #cdd374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c131",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 66.25,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77425,
    "c": 0.16052,
    "h": 115.5
  },
  "luminance": 0.47827
}

Semantic roles & 50–950 ramp

primary
#B2C131
secondary
#8A82CC
accent
#45E356
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C131

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

Preview Lab → · Contrast checker → · Palette generator →

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