#8FA01F#8FA01F

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

Color values

HEX#8FA01F
RGBrgb(143, 160, 31)
HSLhsl(68, 68%, 37%)
HSVhsv(68, 81%, 63%)
CMYKcmyk(10.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(62.58, -22.02, 59.27)
CIE-LCHlch(62.58, 63.23, 110.38°)
OKLaboklab(66.99% -0.0668 0.1291)
OKLCHoklch(66.99% 0.145 117.3)
XYZxyz(24.1464, 31.0805, 6.0232)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA01F #301FA0
analogous
#A0711F #8FA01F #4FA01F
triadic
#8FA01F #1F8FA0 #A01F8F
tetradic
#8FA01F #1FA071 #301FA0 #A01F4F
square
#8FA01F #1FA071 #301FA0 #A01F4F
split-complementary
#8FA01F #1F4FA0 #711FA0
monochromatic
#33390B #616D15 #8FA01F #BDD329 #CEDF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8fa01f;
/* rgb */ color: rgb(143, 160, 31);
/* oklch */ color: oklch(67.0% 0.145 117.3);
Tailwind
colors: {
  custom: {
    50: '#b3bc67',
    500: '#8fa01f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa01f;
$custom-light: #b3bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa01f",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 67.907,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.14537,
    "h": 117.3
  },
  "luminance": 0.3108
}

Semantic roles & 50–950 ramp

primary
#8FA01F
secondary
#6658C3
accent
#3DEA54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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