#8FAF30#8FAF30

#8FAF30 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.6% C 0.154 H 122.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8FAF30
RGBrgb(143, 175, 48)
HSLhsl(75, 57%, 44%)
HSVhsv(75, 73%, 69%)
CMYKcmyk(18.3%, 0%, 72.6%, 31.4%)
CIE-LABlab(67.06, -28.56, 57.90)
CIE-LCHlch(67.06, 64.56, 116.26°)
OKLaboklab(70.63% -0.0834 0.1291)
OKLCHoklch(70.63% 0.154 122.8)
XYZxyz(27.1915, 36.7129, 8.4495)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF30 #5030AF
analogous
#AF8F30 #8FAF30 #4FAF30
triadic
#8FAF30 #308FAF #AF308F
tetradic
#8FAF30 #30AF8F #5030AF #AF304F
square
#8FAF30 #30AF8F #5030AF #AF304F
split-complementary
#8FAF30 #304FAF #8F30AF
monochromatic
#414F16 #687F23 #8FAF30 #AECE4E #C4DC7E

Accessibility & contrast

On white

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

On black

8.34
#8FAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF30
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF30#FFFFFF#000000##000000
##8FAF301.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A418
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#96A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf30;
/* rgb */ color: rgb(143, 175, 48);
/* oklch */ color: oklch(70.6% 0.154 122.8);
Tailwind
colors: {
  custom: {
    50: '#b3c771',
    500: '#8faf30',
    950: '#000000',
  },
}
SCSS
$custom: #8faf30;
$custom-light: #b3c771;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf30",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 75.118,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.15373,
    "h": 122.8
  },
  "luminance": 0.36713
}

Semantic roles & 50–950 ramp

primary
#8FAF30
secondary
#8A76C4
accent
#48E06E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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