#B2C23B#B2C23B

#B2C23B 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#B2C23B
RGBrgb(178, 194, 59)
HSLhsl(67, 53%, 50%)
HSVhsv(67, 70%, 76%)
CMYKcmyk(8.2%, 0%, 69.6%, 23.9%)
CIE-LABlab(75.05, -22.71, 62.60)
CIE-LCHlch(75.05, 66.59, 109.94°)
OKLaboklab(77.72% -0.0682 0.1399)
OKLCHoklch(77.72% 0.156 116)
XYZxyz(38.4422, 48.3649, 11.4471)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C23B #4B3BC2
analogous
#C28F3B #B2C23B #6FC23B
triadic
#B2C23B #3BB2C2 #C23BB2
tetradic
#B2C23B #3BC28F #4B3BC2 #C23B6F
square
#B2C23B #3BC28F #4B3BC2 #C23B6F
split-complementary
#B2C23B #3B6FC2 #8F3BC2
monochromatic
#5C641E #87932D #B2C23B #C5D169 #D7E098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C23B#FFFFFF#000000##000000
##B2C23B1.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)
#CFB825
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c23b;
/* rgb */ color: rgb(178, 194, 59);
/* oklch */ color: oklch(77.7% 0.156 116.0);
Tailwind
colors: {
  custom: {
    50: '#ccd479',
    500: '#b2c23b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c23b;
$custom-light: #ccd479;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c23b",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 67.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77716,
    "c": 0.15562,
    "h": 116
  },
  "luminance": 0.48364
}

Semantic roles & 50–950 ramp

primary
#B2C23B
secondary
#958ECB
accent
#4BDD5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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