#8FAD1F#8FAD1F

#8FAD1F is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 70.1% C 0.160 H 121.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8FAD1F
RGBrgb(143, 173, 31)
HSLhsl(73, 70%, 40%)
HSVhsv(73, 82%, 68%)
CMYKcmyk(17.3%, 0%, 82.1%, 32.2%)
CIE-LABlab(66.39, -28.39, 62.64)
CIE-LCHlch(66.39, 68.78, 114.38°)
OKLaboklab(70.06% -0.0842 0.1363)
OKLCHoklch(70.06% 0.16 121.7)
XYZxyz(26.5190, 35.8257, 6.8140)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAD1F #3D1FAD
analogous
#AD841F #8FAD1F #48AD1F
triadic
#8FAD1F #1F8FAD #AD1F8F
tetradic
#8FAD1F #1FAD84 #3D1FAD #AD1F48
square
#8FAD1F #1FAD84 #3D1FAD #AD1F48
split-complementary
#8FAD1F #1F48AD #841FAD
monochromatic
#39450C #647916 #8FAD1F #B6DA2F #C8E363

Accessibility & contrast

On white

2.57
#8FAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#8FAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAD1F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAD1F#FFFFFF#000000##000000
##8FAD1F1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#97A494
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fad1f;
/* rgb */ color: rgb(143, 173, 31);
/* oklch */ color: oklch(70.1% 0.160 121.7);
Tailwind
colors: {
  custom: {
    50: '#b4c569',
    500: '#8fad1f',
    950: '#000000',
  },
}
SCSS
$custom: #8fad1f;
$custom-light: #b4c569;
$custom-dark: #000000;
JSON
{
  "hex": "#8fad1f",
  "rgb": {
    "r": 143,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 72.676,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.70058,
    "c": 0.16025,
    "h": 121.7
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#8FAD1F
secondary
#7660C8
accent
#3BEC61
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #8FAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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