#8FA031#8FA031

#8FA031 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.135 H 117.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8FA031
RGBrgb(143, 160, 49)
HSLhsl(69, 53%, 41%)
HSVhsv(69, 69%, 63%)
CMYKcmyk(10.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(62.68, -21.13, 53.16)
CIE-LCHlch(62.68, 57.21, 111.67°)
OKLaboklab(67.1% -0.0627 0.1194)
OKLCHoklch(67.1% 0.135 117.7)
XYZxyz(24.4534, 31.2032, 7.6398)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA031 #4231A0
analogous
#A07931 #8FA031 #57A031
triadic
#8FA031 #318FA0 #A0318F
tetradic
#8FA031 #31A079 #4231A0 #A03157
square
#8FA031 #31A079 #4231A0 #A03157
split-complementary
#8FA031 #3157A0 #7931A0
monochromatic
#3B4214 #657123 #8FA031 #B3C747 #C7D576

Accessibility & contrast

On white

2.90
#8FA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8FA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA031
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA031#FFFFFF#000000##000000
##8FA0311.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#A99839
Tritanopia (blue-blind)
#98978A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa031;
/* rgb */ color: rgb(143, 160, 49);
/* oklch */ color: oklch(67.1% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#b3bc70',
    500: '#8fa031',
    950: '#000000',
  },
}
SCSS
$custom: #8fa031;
$custom-light: #b3bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa031",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 69.189,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67102,
    "c": 0.13484,
    "h": 117.7
  },
  "luminance": 0.31203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA031

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

Preview Lab → · Contrast checker → · Palette generator →

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