#B0C842#B0C842

#B0C842 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 79.0% C 0.158 H 118.9°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#B0C842
RGBrgb(176, 200, 66)
HSLhsl(71, 55%, 52%)
HSVhsv(71, 67%, 78%)
CMYKcmyk(12%, 0%, 67%, 21.6%)
CIE-LABlab(76.64, -26.04, 61.49)
CIE-LCHlch(76.64, 66.78, 112.95°)
OKLaboklab(78.97% -0.0767 0.1387)
OKLCHoklch(78.97% 0.158 118.9)
XYZxyz(39.5429, 50.9323, 12.9010)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C842 #5A42C8
analogous
#C89D42 #B0C842 #6DC842
triadic
#B0C842 #42B0C8 #C842B0
tetradic
#B0C842 #42C89D #5A42C8 #C8426D
square
#B0C842 #42C89D #5A42C8 #C8426D
split-complementary
#B0C842 #426DC8 #9D42C8
monochromatic
#616F20 #8A9F2E #B0C842 #C4D671 #D8E4A1

Accessibility & contrast

On white

1.88
#B0C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#B0C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C842
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C842#FFFFFF#000000##000000
##B0C8421.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#BABDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b0c842;
/* rgb */ color: rgb(176, 200, 66);
/* oklch */ color: oklch(79.0% 0.158 118.9);
Tailwind
colors: {
  custom: {
    50: '#cbd87e',
    500: '#b0c842',
    950: '#000000',
  },
}
SCSS
$custom: #b0c842;
$custom-light: #cbd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c842",
  "rgb": {
    "r": 176,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 70.746,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78967,
    "c": 0.15848,
    "h": 118.9
  },
  "luminance": 0.50932
}

Semantic roles & 50–950 ramp

primary
#B0C842
secondary
#423679
accent
#4ADE64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B0C842

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

Preview Lab → · Contrast checker → · Palette generator →

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