#B2C92E#B2C92E

#B2C92E is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.2% C 0.171 H 118.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#B2C92E
RGBrgb(178, 201, 46)
HSLhsl(69, 63%, 48%)
HSVhsv(69, 77%, 79%)
CMYKcmyk(11.4%, 0%, 77.1%, 21.2%)
CIE-LABlab(76.94, -26.73, 68.77)
CIE-LCHlch(76.94, 73.78, 111.24°)
OKLaboklab(79.21% -0.0804 0.1507)
OKLCHoklch(79.21% 0.171 118.1)
XYZxyz(39.7408, 51.4359, 10.4188)
Luminance0.5144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C92E #452EC9
analogous
#C9922E #B2C92E #64C92E
triadic
#B2C92E #2EB2C9 #C92EB2
tetradic
#B2C92E #2EC992 #452EC9 #C92E64
square
#B2C92E #2EC992 #452EC9 #C92E64
split-complementary
#B2C92E #2E64C9 #922EC9
monochromatic
#5A6517 #869723 #B2C92E #C7D95B #D8E58D

Accessibility & contrast

On white

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

On black

11.29
#B2C92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C92E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C92E#FFFFFF#000000##000000
##B2C92E1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#BDBEAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c92e;
/* rgb */ color: rgb(178, 201, 46);
/* oklch */ color: oklch(79.2% 0.171 118.1);
Tailwind
colors: {
  custom: {
    50: '#cdd974',
    500: '#b2c92e',
    950: '#000000',
  },
}
SCSS
$custom: #b2c92e;
$custom-light: #cdd974;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c92e",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 68.903,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7921,
    "c": 0.17084,
    "h": 118.1
  },
  "luminance": 0.51436
}

Semantic roles & 50–950 ramp

primary
#B2C92E
secondary
#362C70
accent
#42E65A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C92E

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

Preview Lab → · Contrast checker → · Palette generator →

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