#B2C93B#B2C93B

#B2C93B is a light, vivid yellow. Relative luminance 0.516; 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#B2C93B
RGBrgb(178, 201, 59)
HSLhsl(70, 57%, 51%)
HSVhsv(70, 71%, 79%)
CMYKcmyk(11.4%, 0%, 70.6%, 21.2%)
CIE-LABlab(77.01, -26.11, 64.54)
CIE-LCHlch(77.01, 69.62, 112.03°)
OKLaboklab(79.29% -0.0777 0.144)
OKLCHoklch(79.29% 0.164 118.3)
XYZxyz(40.0370, 51.5544, 11.9787)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C93B #523BC9
analogous
#C9993B #B2C93B #6BC93B
triadic
#B2C93B #3BB2C9 #C93BB2
tetradic
#B2C93B #3BC999 #523BC9 #C93B6B
square
#B2C93B #3BC999 #523BC9 #C93B6B
split-complementary
#B2C93B #3B6BC9 #993BC9
monochromatic
#5F6C1E #8A9C2B #B2C93B #C5D66B #D8E39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C93B#FFFFFF#000000##000000
##B2C93B1.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)
#D6BE22
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c93b;
/* rgb */ color: rgb(178, 201, 59);
/* oklch */ color: oklch(79.3% 0.164 118.3);
Tailwind
colors: {
  custom: {
    50: '#ccd97a',
    500: '#b2c93b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c93b;
$custom-light: #ccd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c93b",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 69.718,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7929,
    "c": 0.16356,
    "h": 118.3
  },
  "luminance": 0.51554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C93B

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

Preview Lab → · Contrast checker → · Palette generator →

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