#8FA11B#8FA11B

#8FA11B is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.148 H 117.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8FA11B
RGBrgb(143, 161, 27)
HSLhsl(68, 71%, 37%)
HSVhsv(68, 83%, 63%)
CMYKcmyk(11.2%, 0%, 83.2%, 36.9%)
CIE-LABlab(62.85, -22.66, 60.61)
CIE-LCHlch(62.85, 64.71, 110.50°)
OKLaboklab(67.2% -0.0688 0.1313)
OKLCHoklch(67.2% 0.148 117.7)
XYZxyz(24.2710, 31.4088, 5.8206)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA11B #2D1BA1
analogous
#A1701B #8FA11B #4CA11B
triadic
#8FA11B #1B8FA1 #A11B8F
tetradic
#8FA11B #1BA170 #2D1BA1 #A11B4C
square
#8FA11B #1BA170 #2D1BA1 #A11B4C
split-complementary
#8FA11B #1B4CA1 #701BA1
monochromatic
#323809 #606D12 #8FA11B #BED524 #CFE254

Accessibility & contrast

On white

2.88
#8FA11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8FA11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA11B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA11B#FFFFFF#000000##000000
##8FA11B1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#989889
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa11b;
/* rgb */ color: rgb(143, 161, 27);
/* oklch */ color: oklch(67.2% 0.148 117.7);
Tailwind
colors: {
  custom: {
    50: '#b4bc66',
    500: '#8fa11b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa11b;
$custom-light: #b4bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa11b",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 68.06,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67203,
    "c": 0.14825,
    "h": 117.7
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#8FA11B
secondary
#6252C5
accent
#3AEE52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8FA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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