#B2C23A#B2C23A

#B2C23A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.156 H 116.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B2C23A
RGBrgb(178, 194, 58)
HSLhsl(67, 54%, 49%)
HSVhsv(67, 70%, 76%)
CMYKcmyk(8.2%, 0%, 70.1%, 23.9%)
CIE-LABlab(75.05, -22.76, 62.96)
CIE-LCHlch(75.05, 66.95, 109.88°)
OKLaboklab(77.71% -0.0685 0.1405)
OKLCHoklch(77.71% 0.156 116)
XYZxyz(38.4166, 48.3546, 11.3118)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C23A #4A3AC2
analogous
#C28E3A #B2C23A #6EC23A
triadic
#B2C23A #3AB2C2 #C23AB2
tetradic
#B2C23A #3AC28E #4A3AC2 #C23A6E
square
#B2C23A #3AC28E #4A3AC2 #C23A6E
split-complementary
#B2C23A #3A6EC2 #8E3AC2
monochromatic
#5C641E #87932C #B2C23A #C5D267 #D7E097

Accessibility & contrast

On white

1.97
#B2C23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B2C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C23A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C23A#FFFFFF#000000##000000
##B2C23A1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB823
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c23a;
/* rgb */ color: rgb(178, 194, 58);
/* oklch */ color: oklch(77.7% 0.156 116.0);
Tailwind
colors: {
  custom: {
    50: '#ccd479',
    500: '#b2c23a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c23a;
$custom-light: #ccd479;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c23a",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 67.059,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.15627,
    "h": 116
  },
  "luminance": 0.48354
}

Semantic roles & 50–950 ramp

primary
#B2C23A
secondary
#948DCB
accent
#4ADD5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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