#8FA02A#8FA02A

#8FA02A is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.139 H 117.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8FA02A
RGBrgb(143, 160, 42)
HSLhsl(69, 58%, 40%)
HSVhsv(69, 74%, 63%)
CMYKcmyk(10.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(62.63, -21.52, 55.76)
CIE-LCHlch(62.63, 59.76, 111.11°)
OKLaboklab(67.05% -0.0645 0.1236)
OKLCHoklch(67.05% 0.139 117.5)
XYZxyz(24.3170, 31.1487, 6.9213)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA02A #3B2AA0
analogous
#A0762A #8FA02A #54A02A
triadic
#8FA02A #2A8FA0 #A02A8F
tetradic
#8FA02A #2AA076 #3B2AA0 #A02A54
square
#8FA02A #2AA076 #3B2AA0 #A02A54
split-complementary
#8FA02A #2A54A0 #762AA0
monochromatic
#383F11 #64701D #8FA02A #B7CC3C #C9D86C

Accessibility & contrast

On white

2.90
#8FA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8FA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA02A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA02A#FFFFFF#000000##000000
##8FA02A1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9713
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa02a;
/* rgb */ color: rgb(143, 160, 42);
/* oklch */ color: oklch(67.0% 0.139 117.5);
Tailwind
colors: {
  custom: {
    50: '#b3bc6c',
    500: '#8fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa02a;
$custom-light: #b3bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa02a",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 68.644,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6705,
    "c": 0.13944,
    "h": 117.5
  },
  "luminance": 0.31148
}

Semantic roles & 50–950 ramp

primary
#8FA02A
secondary
#7367BF
accent
#46E25D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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