#8FA032#8FA032

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

Color values

HEX#8FA032
RGBrgb(143, 160, 50)
HSLhsl(69, 52%, 41%)
HSVhsv(69, 69%, 63%)
CMYKcmyk(10.6%, 0%, 68.8%, 37.3%)
CIE-LABlab(62.69, -21.06, 52.77)
CIE-LCHlch(62.69, 56.82, 111.76°)
OKLaboklab(67.11% -0.0625 0.1187)
OKLCHoklch(67.11% 0.134 117.8)
XYZxyz(24.4747, 31.2118, 7.7521)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA032 #4332A0
analogous
#A07A32 #8FA032 #58A032
triadic
#8FA032 #328FA0 #A0328F
tetradic
#8FA032 #32A07A #4332A0 #A03258
square
#8FA032 #32A07A #4332A0 #A03258
split-complementary
#8FA032 #3258A0 #7A32A0
monochromatic
#3C4315 #657123 #8FA032 #B3C649 #C6D578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA032#FFFFFF#000000##000000
##8FA0321.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)
#AB9721
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#98978A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa032;
/* rgb */ color: rgb(143, 160, 50);
/* oklch */ color: oklch(67.1% 0.134 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc70',
    500: '#8fa032',
    950: '#000000',
  },
}
SCSS
$custom: #8fa032;
$custom-light: #b3bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa032",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 69.273,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6711,
    "c": 0.13413,
    "h": 117.8
  },
  "luminance": 0.31212
}

Semantic roles & 50–950 ramp

primary
#8FA032
secondary
#7D71BD
accent
#4CDC62
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA032

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

Preview Lab → · Contrast checker → · Palette generator →

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