#8FA02F#8FA02F

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

Color values

HEX#8FA02F
RGBrgb(143, 160, 47)
HSLhsl(69, 55%, 41%)
HSVhsv(69, 71%, 63%)
CMYKcmyk(10.6%, 0%, 70.6%, 37.3%)
CIE-LABlab(62.66, -21.24, 53.93)
CIE-LCHlch(62.66, 57.96, 111.50°)
OKLaboklab(67.09% -0.0633 0.1206)
OKLCHoklch(67.09% 0.136 117.7)
XYZxyz(24.4121, 31.1867, 7.4224)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA02F #402FA0
analogous
#A0792F #8FA02F #56A02F
triadic
#8FA02F #2F8FA0 #A02F8F
tetradic
#8FA02F #2FA079 #402FA0 #A02F56
square
#8FA02F #2FA079 #402FA0 #A02F56
split-complementary
#8FA02F #2F56A0 #792FA0
monochromatic
#3A4113 #657121 #8FA02F #B4C844 #C7D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA02F#FFFFFF#000000##000000
##8FA02F1.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)
#AB971C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#98978A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa02f;
/* rgb */ color: rgb(143, 160, 47);
/* oklch */ color: oklch(67.1% 0.136 117.7);
Tailwind
colors: {
  custom: {
    50: '#b3bc6f',
    500: '#8fa02f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa02f;
$custom-light: #b3bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa02f",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 69.027,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.13622,
    "h": 117.7
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

primary
#8FA02F
secondary
#796DBE
accent
#4ADE60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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