#B2C23C#B2C23C

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

Color values

HEX#B2C23C
RGBrgb(178, 194, 60)
HSLhsl(67, 53%, 50%)
HSVhsv(67, 69%, 76%)
CMYKcmyk(8.2%, 0%, 69.1%, 23.9%)
CIE-LABlab(75.06, -22.65, 62.23)
CIE-LCHlch(75.06, 66.23, 110.00°)
OKLaboklab(77.72% -0.068 0.1393)
OKLCHoklch(77.72% 0.155 116)
XYZxyz(38.4684, 48.3753, 11.5850)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C23C #4C3CC2
analogous
#C28F3C #B2C23C #6FC23C
triadic
#B2C23C #3CB2C2 #C23CB2
tetradic
#B2C23C #3CC28F #4C3CC2 #C23C6F
square
#B2C23C #3CC28F #4C3CC2 #C23C6F
split-complementary
#B2C23C #3C6FC2 #8F3CC2
monochromatic
#5C651F #87932E #B2C23C #C5D16A #D7DF99

Accessibility & contrast

On white

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

On black

10.68
#B2C23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C23C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C23C#FFFFFF#000000##000000
##B2C23C1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c23c;
/* rgb */ color: rgb(178, 194, 60);
/* oklch */ color: oklch(77.7% 0.155 116.0);
Tailwind
colors: {
  custom: {
    50: '#ccd47a',
    500: '#b2c23c',
    950: '#000000',
  },
}
SCSS
$custom: #b2c23c;
$custom-light: #ccd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c23c",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 67.164,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77723,
    "c": 0.15496,
    "h": 116
  },
  "luminance": 0.48375
}

Semantic roles & 50–950 ramp

primary
#B2C23C
secondary
#968FCB
accent
#4CDC5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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