#8BAF1C#8BAF1C

#8BAF1C is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.2% C 0.166 H 123.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8BAF1C
RGBrgb(139, 175, 28)
HSLhsl(75, 72%, 40%)
HSVhsv(75, 84%, 69%)
CMYKcmyk(20.6%, 0%, 84%, 31.4%)
CIE-LABlab(66.70, -31.10, 63.57)
CIE-LCHlch(66.70, 70.77, 116.07°)
OKLaboklab(70.24% -0.0916 0.138)
OKLCHoklch(70.24% 0.166 123.6)
XYZxyz(26.1874, 36.2326, 6.7123)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF1C #401CAF
analogous
#AF8A1C #8BAF1C #41AF1C
triadic
#8BAF1C #1C8BAF #AF1C8B
tetradic
#8BAF1C #1CAF8A #401CAF #AF1C41
square
#8BAF1C #1CAF8A #401CAF #AF1C41
split-complementary
#8BAF1C #1C41AF #8A1CAF
monochromatic
#37450B #617A14 #8BAF1C #B2DD2B #C5E660

Accessibility & contrast

On white

2.55
#8BAF1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#8BAF1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF1C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF1C#FFFFFF#000000##000000
##8BAF1C1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#92A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8baf1c;
/* rgb */ color: rgb(139, 175, 28);
/* oklch */ color: oklch(70.2% 0.166 123.6);
Tailwind
colors: {
  custom: {
    50: '#b1c768',
    500: '#8baf1c',
    950: '#000000',
  },
}
SCSS
$custom: #8baf1c;
$custom-light: #b1c768;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf1c",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 28
  },
  "hsl": {
    "h": 74.694,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70237,
    "c": 0.1656,
    "h": 123.6
  },
  "luminance": 0.36233
}

Semantic roles & 50–950 ramp

primary
#8BAF1C
secondary
#785DCA
accent
#39EF65
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #8BAF1C

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

Preview Lab → · Contrast checker → · Palette generator →

#8BAF1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva