#B2C93A#B2C93A

#B2C93A is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.164 H 118.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#B2C93A
RGBrgb(178, 201, 58)
HSLhsl(70, 57%, 51%)
HSVhsv(70, 71%, 79%)
CMYKcmyk(11.4%, 0%, 71.1%, 21.2%)
CIE-LABlab(77.01, -26.16, 64.89)
CIE-LCHlch(77.01, 69.96, 111.96°)
OKLaboklab(79.28% -0.0779 0.1445)
OKLCHoklch(79.28% 0.164 118.3)
XYZxyz(40.0113, 51.5441, 11.8434)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C93A #513AC9
analogous
#C9983A #B2C93A #6AC93A
triadic
#B2C93A #3AB2C9 #C93AB2
tetradic
#B2C93A #3AC998 #513AC9 #C93A6A
square
#B2C93A #3AC998 #513AC9 #C93A6A
split-complementary
#B2C93A #3A6AC9 #983AC9
monochromatic
#5F6B1D #899B2B #B2C93A #C5D66A #D8E39A

Accessibility & contrast

On white

1.86
#B2C93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#B2C93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C93A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C93A#FFFFFF#000000##000000
##B2C93A1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE20
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c93a;
/* rgb */ color: rgb(178, 201, 58);
/* oklch */ color: oklch(79.3% 0.164 118.3);
Tailwind
colors: {
  custom: {
    50: '#ccd979',
    500: '#b2c93a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c93a;
$custom-light: #ccd979;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c93a",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 69.65,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.16418,
    "h": 118.3
  },
  "luminance": 0.51544
}

Semantic roles & 50–950 ramp

primary
#B2C93A
secondary
#3D3275
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C93A

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

Preview Lab → · Contrast checker → · Palette generator →

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