#8FAF2D#8FAF2D

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

Color values

HEX#8FAF2D
RGBrgb(143, 175, 45)
HSLhsl(75, 59%, 43%)
HSVhsv(75, 74%, 69%)
CMYKcmyk(18.3%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.04, -28.73, 58.94)
CIE-LCHlch(67.04, 65.57, 115.98°)
OKLaboklab(70.61% -0.0841 0.1309)
OKLCHoklch(70.61% 0.156 122.7)
XYZxyz(27.1317, 36.6889, 8.1344)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2D #4D2DAF
analogous
#AF8E2D #8FAF2D #4EAF2D
triadic
#8FAF2D #2D8FAF #AF2D8F
tetradic
#8FAF2D #2DAF8E #4D2DAF #AF2D4E
square
#8FAF2D #2DAF8E #4D2DAF #AF2D4E
split-complementary
#8FAF2D #2D4EAF #8E2DAF
monochromatic
#3F4E14 #677E20 #8FAF2D #AFD049 #C4DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FAF2D#FFFFFF#000000##000000
##8FAF2D1.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)
#B9A412
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf2d;
/* rgb */ color: rgb(143, 175, 45);
/* oklch */ color: oklch(70.6% 0.156 122.7);
Tailwind
colors: {
  custom: {
    50: '#b3c770',
    500: '#8faf2d',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2d;
$custom-light: #b3c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2d",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 74.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.15554,
    "h": 122.7
  },
  "luminance": 0.36689
}

Semantic roles & 50–950 ramp

primary
#8FAF2D
secondary
#8773C5
accent
#46E26C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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