#8FA230#8FA230

#8FA230 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.6% C 0.138 H 118.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8FA230
RGBrgb(143, 162, 48)
HSLhsl(70, 54%, 41%)
HSVhsv(70, 70%, 64%)
CMYKcmyk(11.7%, 0%, 70.4%, 36.5%)
CIE-LABlab(63.26, -22.19, 54.13)
CIE-LCHlch(63.26, 58.50, 112.29°)
OKLaboklab(67.56% -0.0658 0.1212)
OKLCHoklch(67.56% 0.138 118.5)
XYZxyz(24.7820, 31.8939, 7.6463)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA230 #4330A2
analogous
#A27C30 #8FA230 #56A230
triadic
#8FA230 #308FA2 #A2308F
tetradic
#8FA230 #30A27C #4330A2 #A23056
square
#8FA230 #30A27C #4330A2 #A23056
split-complementary
#8FA230 #3056A2 #7C30A2
monochromatic
#3C4414 #657322 #8FA230 #B3C847 #C6D676

Accessibility & contrast

On white

2.85
#8FA230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#8FA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA230
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA230#FFFFFF#000000##000000
##8FA2301.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa230;
/* rgb */ color: rgb(143, 162, 48);
/* oklch */ color: oklch(67.6% 0.138 118.5);
Tailwind
colors: {
  custom: {
    50: '#b3bd70',
    500: '#8fa230',
    950: '#000000',
  },
}
SCSS
$custom: #8fa230;
$custom-light: #b3bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa230",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 70,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.13793,
    "h": 118.5
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#8FA230
secondary
#7D6FBE
accent
#4ADE63
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA230

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

Preview Lab → · Contrast checker → · Palette generator →

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