#8FA01B#8FA01B

#8FA01B 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#8FA01B
RGBrgb(143, 160, 27)
HSLhsl(68, 71%, 37%)
HSVhsv(68, 83%, 63%)
CMYKcmyk(10.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(62.56, -22.16, 60.36)
CIE-LCHlch(62.56, 64.30, 110.16°)
OKLaboklab(66.97% -0.0674 0.1308)
OKLCHoklch(66.97% 0.147 117.3)
XYZxyz(24.0970, 31.0607, 5.7626)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA01B #2C1BA0
analogous
#A06F1B #8FA01B #4DA01B
triadic
#8FA01B #1B8FA0 #A01B8F
tetradic
#8FA01B #1BA06F #2C1BA0 #A01B4D
square
#8FA01B #1BA06F #2C1BA0 #A01B4D
split-complementary
#8FA01B #1B4DA0 #6F1BA0
monochromatic
#313709 #606C12 #8FA01B #BED424 #D0E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA01B#FFFFFF#000000##000000
##8FA01B1.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)
#AA9829
Tritanopia (blue-blind)
#989788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa01b;
/* rgb */ color: rgb(143, 160, 27);
/* oklch */ color: oklch(67.0% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#b4bc66',
    500: '#8fa01b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa01b;
$custom-light: #b4bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa01b",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 67.669,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66967,
    "c": 0.14713,
    "h": 117.3
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#8FA01B
secondary
#6152C5
accent
#3AEE51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8FA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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