#8FA022#8FA022

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

Color values

HEX#8FA022
RGBrgb(143, 160, 34)
HSLhsl(68, 65%, 38%)
HSVhsv(68, 79%, 63%)
CMYKcmyk(10.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(62.59, -21.90, 58.39)
CIE-LCHlch(62.59, 62.36, 110.56°)
OKLaboklab(67% -0.0662 0.1278)
OKLCHoklch(67% 0.144 117.4)
XYZxyz(24.1878, 31.0970, 6.2412)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA022 #3322A0
analogous
#A07222 #8FA022 #50A022
triadic
#8FA022 #228FA0 #A0228F
tetradic
#8FA022 #22A072 #3322A0 #A02250
square
#8FA022 #22A072 #3322A0 #A02250
split-complementary
#8FA022 #2250A0 #7222A0
monochromatic
#353B0D #626E17 #8FA022 #BCD22D #CCDD5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA022#FFFFFF#000000##000000
##8FA0221.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)
#AA982E
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa022;
/* rgb */ color: rgb(143, 160, 34);
/* oklch */ color: oklch(67.0% 0.144 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8fa022',
    950: '#000000',
  },
}
SCSS
$custom: #8fa022;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa022",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 68.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67002,
    "c": 0.14391,
    "h": 117.4
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#8FA022
secondary
#6A5CC2
accent
#40E857
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA022

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

Preview Lab → · Contrast checker → · Palette generator →

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