#8FAF38#8FAF38

#8FAF38 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.148 H 123.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8FAF38
RGBrgb(143, 175, 56)
HSLhsl(76, 52%, 45%)
HSVhsv(76, 68%, 69%)
CMYKcmyk(18.3%, 0%, 68%, 31.4%)
CIE-LABlab(67.12, -28.07, 54.91)
CIE-LCHlch(67.12, 61.67, 117.08°)
OKLaboklab(70.69% -0.0813 0.1241)
OKLCHoklch(70.69% 0.148 123.2)
XYZxyz(27.3718, 36.7850, 9.3988)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF38 #5838AF
analogous
#AF9338 #8FAF38 #54AF38
triadic
#8FAF38 #388FAF #AF388F
tetradic
#8FAF38 #38AF93 #5838AF #AF3854
square
#8FAF38 #38AF93 #5838AF #AF3854
split-complementary
#8FAF38 #3854AF #9338AF
monochromatic
#43521A #698129 #8FAF38 #ACCA5A #C3D988

Accessibility & contrast

On white

2.51
#8FAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8FAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF38
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF38#FFFFFF#000000##000000
##8FAF381.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#B5A341
Tritanopia (blue-blind)
#96A697
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf38;
/* rgb */ color: rgb(143, 175, 56);
/* oklch */ color: oklch(70.7% 0.148 123.2);
Tailwind
colors: {
  custom: {
    50: '#b3c775',
    500: '#8faf38',
    950: '#000000',
  },
}
SCSS
$custom: #8faf38;
$custom-light: #b3c775;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf38",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 76.134,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.14838,
    "h": 123.2
  },
  "luminance": 0.36785
}

Semantic roles & 50–950 ramp

primary
#8FAF38
secondary
#9280C3
accent
#4DDB73
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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