#8FA02C#8FA02C

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

Color values

HEX#8FA02C
RGBrgb(143, 160, 44)
HSLhsl(69, 57%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(10.6%, 0%, 72.5%, 37.3%)
CIE-LABlab(62.65, -21.41, 55.04)
CIE-LCHlch(62.65, 59.06, 111.26°)
OKLaboklab(67.06% -0.064 0.1225)
OKLCHoklch(67.06% 0.138 117.6)
XYZxyz(24.3537, 31.1634, 7.1146)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA02C #3D2CA0
analogous
#A0772C #8FA02C #55A02C
triadic
#8FA02C #2C8FA0 #A02C8F
tetradic
#8FA02C #2CA077 #3D2CA0 #A02C55
square
#8FA02C #2CA077 #3D2CA0 #A02C55
split-complementary
#8FA02C #2C55A0 #772CA0
monochromatic
#394012 #64701F #8FA02C #B6CA3F #C8D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA02C#FFFFFF#000000##000000
##8FA02C1.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)
#AB9717
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa02c;
/* rgb */ color: rgb(143, 160, 44);
/* oklch */ color: oklch(67.1% 0.138 117.6);
Tailwind
colors: {
  custom: {
    50: '#b3bc6d',
    500: '#8fa02c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa02c;
$custom-light: #b3bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa02c",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 68.793,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.13819,
    "h": 117.6
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#8FA02C
secondary
#7669BF
accent
#48E05E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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