#8CAF1F#8CAF1F

#8CAF1F is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.164 H 123.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8CAF1F
RGBrgb(140, 175, 31)
HSLhsl(75, 70%, 40%)
HSVhsv(75, 82%, 69%)
CMYKcmyk(20%, 0%, 82.3%, 31.4%)
CIE-LABlab(66.77, -30.58, 62.91)
CIE-LCHlch(66.77, 69.95, 115.93°)
OKLaboklab(70.32% -0.09 0.137)
OKLCHoklch(70.32% 0.164 123.3)
XYZxyz(26.3929, 36.3342, 6.9188)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CAF1F #421FAF
analogous
#AF8A1F #8CAF1F #44AF1F
triadic
#8CAF1F #1F8CAF #AF1F8C
tetradic
#8CAF1F #1FAF8A #421FAF #AF1F44
square
#8CAF1F #1FAF8A #421FAF #AF1F44
split-complementary
#8CAF1F #1F44AF #8A1FAF
monochromatic
#39470D #627B16 #8CAF1F #B1DA31 #C5E465

Accessibility & contrast

On white

2.54
#8CAF1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#8CAF1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CAF1F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CAF1F#FFFFFF#000000##000000
##8CAF1F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8caf1f;
/* rgb */ color: rgb(140, 175, 31);
/* oklch */ color: oklch(70.3% 0.164 123.3);
Tailwind
colors: {
  custom: {
    50: '#b2c769',
    500: '#8caf1f',
    950: '#000000',
  },
}
SCSS
$custom: #8caf1f;
$custom-light: #b2c769;
$custom-dark: #000000;
JSON
{
  "hex": "#8caf1f",
  "rgb": {
    "r": 140,
    "g": 175,
    "b": 31
  },
  "hsl": {
    "h": 74.583,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.7032,
    "c": 0.16393,
    "h": 123.3
  },
  "luminance": 0.36334
}

Semantic roles & 50–950 ramp

primary
#8CAF1F
secondary
#7A61C9
accent
#3BED66
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CAF1F

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

Preview Lab → · Contrast checker → · Palette generator →

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