#B0C838#B0C838

#B0C838 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.9% C 0.165 H 118.7°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#B0C838
RGBrgb(176, 200, 56)
HSLhsl(70, 57%, 50%)
HSVhsv(70, 72%, 78%)
CMYKcmyk(12%, 0%, 72%, 21.6%)
CIE-LABlab(76.57, -26.61, 65.12)
CIE-LCHlch(76.57, 70.35, 112.23°)
OKLaboklab(78.89% -0.0792 0.1447)
OKLCHoklch(78.89% 0.165 118.7)
XYZxyz(39.2734, 50.8245, 11.4818)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C838 #5038C8
analogous
#C89838 #B0C838 #68C838
triadic
#B0C838 #38B0C8 #C838B0
tetradic
#B0C838 #38C898 #5038C8 #C83868
square
#B0C838 #38C898 #5038C8 #C83868
split-complementary
#B0C838 #3868C8 #9838C8
monochromatic
#5C691D #86992A #B0C838 #C3D568 #D6E398

Accessibility & contrast

On white

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

On black

11.16
#B0C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C838
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C838#FFFFFF#000000##000000
##B0C8381.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D2BE44
Tritanopia (blue-blind)
#BABDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b0c838;
/* rgb */ color: rgb(176, 200, 56);
/* oklch */ color: oklch(78.9% 0.165 118.7);
Tailwind
colors: {
  custom: {
    50: '#cbd878',
    500: '#b0c838',
    950: '#000000',
  },
}
SCSS
$custom: #b0c838;
$custom-light: #cbd878;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c838",
  "rgb": {
    "r": 176,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 70,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78894,
    "c": 0.16498,
    "h": 118.7
  },
  "luminance": 0.50824
}

Semantic roles & 50–950 ramp

primary
#B0C838
secondary
#3C3273
accent
#48E061
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B0C838

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

Preview Lab → · Contrast checker → · Palette generator →

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