#8FA01C#8FA01C

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

Color values

HEX#8FA01C
RGBrgb(143, 160, 28)
HSLhsl(68, 70%, 37%)
HSVhsv(68, 83%, 63%)
CMYKcmyk(10.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(62.56, -22.13, 60.09)
CIE-LCHlch(62.56, 64.04, 110.21°)
OKLaboklab(66.97% -0.0673 0.1304)
OKLCHoklch(66.97% 0.147 117.3)
XYZxyz(24.1087, 31.0654, 5.8246)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA01C #2D1CA0
analogous
#A06F1C #8FA01C #4DA01C
triadic
#8FA01C #1C8FA0 #A01C8F
tetradic
#8FA01C #1CA06F #2D1CA0 #A01C4D
square
#8FA01C #1CA06F #2D1CA0 #A01C4D
split-complementary
#8FA01C #1C4DA0 #6F1CA0
monochromatic
#32380A #606C13 #8FA01C #BED425 #CFE155

Accessibility & contrast

On white

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

On black

7.21
#8FA01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA01C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA01C#FFFFFF#000000##000000
##8FA01C1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa01c;
/* rgb */ color: rgb(143, 160, 28);
/* oklch */ color: oklch(67.0% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#b4bc66',
    500: '#8fa01c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa01c;
$custom-light: #b4bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa01c",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 67.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66972,
    "c": 0.14671,
    "h": 117.3
  },
  "luminance": 0.31065
}

Semantic roles & 50–950 ramp

primary
#8FA01C
secondary
#6253C4
accent
#3BED52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8FA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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