#8FAF27#8FAF27

#8FAF27 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.6% C 0.159 H 122.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8FAF27
RGBrgb(143, 175, 39)
HSLhsl(74, 64%, 42%)
HSVhsv(74, 78%, 69%)
CMYKcmyk(18.3%, 0%, 77.7%, 31.4%)
CIE-LABlab(67.01, -29.02, 60.89)
CIE-LCHlch(67.01, 67.45, 115.48°)
OKLaboklab(70.57% -0.0854 0.134)
OKLCHoklch(70.57% 0.159 122.5)
XYZxyz(27.0243, 36.6460, 7.5687)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF27 #4727AF
analogous
#AF8B27 #8FAF27 #4BAF27
triadic
#8FAF27 #278FAF #AF278F
tetradic
#8FAF27 #27AF8B #4727AF #AF274B
square
#8FAF27 #27AF8B #4727AF #AF274B
split-complementary
#8FAF27 #274BAF #8B27AF
monochromatic
#3D4B11 #667D1C #8FAF27 #B1D43F #C5DF71

Accessibility & contrast

On white

2.52
#8FAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#8FAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF27
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF27#FFFFFF#000000##000000
##8FAF271.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf27;
/* rgb */ color: rgb(143, 175, 39);
/* oklch */ color: oklch(70.6% 0.159 122.5);
Tailwind
colors: {
  custom: {
    50: '#b4c76d',
    500: '#8faf27',
    950: '#000000',
  },
}
SCSS
$custom: #8faf27;
$custom-light: #b4c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf27",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 74.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70574,
    "c": 0.15884,
    "h": 122.5
  },
  "luminance": 0.36646
}

Semantic roles & 50–950 ramp

primary
#8FAF27
secondary
#816BC6
accent
#41E768
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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