#8FA02E#8FA02E

#8FA02E is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.137 H 117.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8FA02E
RGBrgb(143, 160, 46)
HSLhsl(69, 55%, 40%)
HSVhsv(69, 71%, 63%)
CMYKcmyk(10.6%, 0%, 71.2%, 37.3%)
CIE-LABlab(62.66, -21.30, 54.30)
CIE-LCHlch(62.66, 58.33, 111.42°)
OKLaboklab(67.08% -0.0635 0.1213)
OKLCHoklch(67.08% 0.137 117.6)
XYZxyz(24.3922, 31.1788, 7.3174)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA02E #3F2EA0
analogous
#A0782E #8FA02E #56A02E
triadic
#8FA02E #2E8FA0 #A02E8F
tetradic
#8FA02E #2EA078 #3F2EA0 #A02E56
square
#8FA02E #2EA078 #3F2EA0 #A02E56
split-complementary
#8FA02E #2E56A0 #782EA0
monochromatic
#3A4113 #657020 #8FA02E #B5C942 #C7D672

Accessibility & contrast

On white

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

On black

7.24
#8FA02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA02E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA02E#FFFFFF#000000##000000
##8FA02E1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#98978A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa02e;
/* rgb */ color: rgb(143, 160, 46);
/* oklch */ color: oklch(67.1% 0.137 117.6);
Tailwind
colors: {
  custom: {
    50: '#b3bc6e',
    500: '#8fa02e',
    950: '#000000',
  },
}
SCSS
$custom: #8fa02e;
$custom-light: #b3bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa02e",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 68.947,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67079,
    "c": 0.13689,
    "h": 117.6
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#8FA02E
secondary
#786CBE
accent
#49DF5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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