#8FA131#8FA131

#8FA131 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.3% C 0.136 H 118.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8FA131
RGBrgb(143, 161, 49)
HSLhsl(70, 53%, 41%)
HSVhsv(70, 70%, 63%)
CMYKcmyk(11.2%, 0%, 69.6%, 36.9%)
CIE-LABlab(62.97, -21.63, 53.46)
CIE-LCHlch(62.97, 57.67, 112.03°)
OKLaboklab(67.34% -0.0641 0.12)
OKLCHoklch(67.34% 0.136 118.1)
XYZxyz(24.6274, 31.5514, 7.6978)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA131 #4331A1
analogous
#A17B31 #8FA131 #57A131
triadic
#8FA131 #318FA1 #A1318F
tetradic
#8FA131 #31A17B #4331A1 #A13157
square
#8FA131 #31A17B #4331A1 #A13157
split-complementary
#8FA131 #3157A1 #7B31A1
monochromatic
#3C4314 #657223 #8FA131 #B3C748 #C6D677

Accessibility & contrast

On white

2.87
#8FA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8FA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA131
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA131#FFFFFF#000000##000000
##8FA1311.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#98988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa131;
/* rgb */ color: rgb(143, 161, 49);
/* oklch */ color: oklch(67.3% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#b3bc70',
    500: '#8fa131',
    950: '#000000',
  },
}
SCSS
$custom: #8fa131;
$custom-light: #b3bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa131",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 69.643,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.13603,
    "h": 118.1
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#8FA131
secondary
#7D70BE
accent
#4BDD62
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA131

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

Preview Lab → · Contrast checker → · Palette generator →

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