#8FA02B#8FA02B

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

Color values

HEX#8FA02B
RGBrgb(143, 160, 43)
HSLhsl(69, 58%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(10.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.64, -21.47, 55.40)
CIE-LCHlch(62.64, 59.41, 111.18°)
OKLaboklab(67.06% -0.0642 0.1231)
OKLCHoklch(67.06% 0.139 117.6)
XYZxyz(24.3351, 31.1559, 7.0168)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA02B #3C2BA0
analogous
#A0772B #8FA02B #55A02B
triadic
#8FA02B #2B8FA0 #A02B8F
tetradic
#8FA02B #2BA077 #3C2BA0 #A02B55
square
#8FA02B #2BA077 #3C2BA0 #A02B55
split-complementary
#8FA02B #2B55A0 #772BA0
monochromatic
#394011 #64701E #8FA02B #B6CB3D #C8D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA02B#FFFFFF#000000##000000
##8FA02B1.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)
#AB9715
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa02b;
/* rgb */ color: rgb(143, 160, 43);
/* oklch */ color: oklch(67.1% 0.139 117.6);
Tailwind
colors: {
  custom: {
    50: '#b3bc6d',
    500: '#8fa02b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa02b;
$custom-light: #b3bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa02b",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 68.718,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67057,
    "c": 0.13882,
    "h": 117.6
  },
  "luminance": 0.31156
}

Semantic roles & 50–950 ramp

primary
#8FA02B
secondary
#7568BF
accent
#47E15D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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