#B2C431#B2C431

#B2C431 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.1% C 0.164 H 116.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B2C431
RGBrgb(178, 196, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 77%)
CMYKcmyk(9.2%, 0%, 75%, 23.1%)
CIE-LABlab(75.56, -24.19, 66.55)
CIE-LCHlch(75.56, 70.81, 109.97°)
OKLaboklab(78.1% -0.0732 0.1465)
OKLCHoklch(78.1% 0.164 116.5)
XYZxyz(38.6554, 49.1671, 10.3590)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C431 #4331C4
analogous
#C48C31 #B2C431 #68C431
triadic
#B2C431 #31B2C4 #C431B2
tetradic
#B2C431 #31C48C #4331C4 #C43168
square
#B2C431 #31C48C #4331C4 #C43168
split-complementary
#B2C431 #3168C4 #8C31C4
monochromatic
#596219 #869325 #B2C431 #C7D65C #D8E28D

Accessibility & contrast

On white

1.94
#B2C431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B2C431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C431
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C431#FFFFFF#000000##000000
##B2C4311.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c431;
/* rgb */ color: rgb(178, 196, 49);
/* oklch */ color: oklch(78.1% 0.164 116.5);
Tailwind
colors: {
  custom: {
    50: '#cdd575',
    500: '#b2c431',
    950: '#000000',
  },
}
SCSS
$custom: #b2c431;
$custom-light: #cdd575;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c431",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 67.347,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78099,
    "c": 0.16379,
    "h": 116.5
  },
  "luminance": 0.49167
}

Semantic roles & 50–950 ramp

primary
#B2C431
secondary
#8D84CD
accent
#45E358
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C431

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

Preview Lab → · Contrast checker → · Palette generator →

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