#8FAF34#8FAF34

#8FAF34 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.7% C 0.151 H 123.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8FAF34
RGBrgb(143, 175, 52)
HSLhsl(76, 54%, 45%)
HSVhsv(76, 70%, 69%)
CMYKcmyk(18.3%, 0%, 70.3%, 31.4%)
CIE-LABlab(67.09, -28.33, 56.44)
CIE-LCHlch(67.09, 63.15, 116.65°)
OKLaboklab(70.66% -0.0824 0.1267)
OKLCHoklch(70.66% 0.151 123)
XYZxyz(27.2778, 36.7474, 8.9040)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF34 #5434AF
analogous
#AF9234 #8FAF34 #51AF34
triadic
#8FAF34 #348FAF #AF348F
tetradic
#8FAF34 #34AF92 #5434AF #AF3451
square
#8FAF34 #34AF92 #5434AF #AF3451
split-complementary
#8FAF34 #3451AF #9234AF
monochromatic
#425118 #688026 #8FAF34 #ADCC54 #C4DA83

Accessibility & contrast

On white

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

On black

8.35
#8FAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF34
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF34#FFFFFF#000000##000000
##8FAF341.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8faf34;
/* rgb */ color: rgb(143, 175, 52);
/* oklch */ color: oklch(70.7% 0.151 123.0);
Tailwind
colors: {
  custom: {
    50: '#b3c773',
    500: '#8faf34',
    950: '#000000',
  },
}
SCSS
$custom: #8faf34;
$custom-light: #b3c773;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf34",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 75.61,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.15114,
    "h": 123
  },
  "luminance": 0.36748
}

Semantic roles & 50–950 ramp

primary
#8FAF34
secondary
#8E7BC4
accent
#4ADE71
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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