#8FA020#8FA020

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

Color values

HEX#8FA020
RGBrgb(143, 160, 32)
HSLhsl(68, 67%, 38%)
HSVhsv(68, 80%, 63%)
CMYKcmyk(10.6%, 0%, 80%, 37.3%)
CIE-LABlab(62.58, -21.98, 58.98)
CIE-LCHlch(62.58, 62.94, 110.44°)
OKLaboklab(66.99% -0.0666 0.1287)
OKLCHoklch(66.99% 0.145 117.4)
XYZxyz(24.1598, 31.0858, 6.0937)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA020 #3120A0
analogous
#A07120 #8FA020 #4FA020
triadic
#8FA020 #208FA0 #A0208F
tetradic
#8FA020 #20A071 #3120A0 #A0204F
square
#8FA020 #20A071 #3120A0 #A0204F
split-complementary
#8FA020 #204FA0 #7120A0
monochromatic
#343A0C #616D16 #8FA020 #BDD32A #CDDE5C

Accessibility & contrast

On white

2.91
#8FA020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8FA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA020
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA020#FFFFFF#000000##000000
##8FA0201.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa020;
/* rgb */ color: rgb(143, 160, 32);
/* oklch */ color: oklch(67.0% 0.145 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bc68',
    500: '#8fa020',
    950: '#000000',
  },
}
SCSS
$custom: #8fa020;
$custom-light: #b3bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa020",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 67.969,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.14489,
    "h": 117.4
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

primary
#8FA020
secondary
#6759C3
accent
#3EEA55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA020

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

Preview Lab → · Contrast checker → · Palette generator →

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