#8FA238#8FA238

#8FA238 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.6% C 0.132 H 118.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8FA238
RGBrgb(143, 162, 56)
HSLhsl(71, 49%, 43%)
HSVhsv(71, 65%, 64%)
CMYKcmyk(11.7%, 0%, 65.4%, 36.5%)
CIE-LABlab(63.31, -21.68, 50.95)
CIE-LCHlch(63.31, 55.37, 113.05°)
OKLaboklab(67.63% -0.0636 0.1158)
OKLCHoklch(67.63% 0.132 118.8)
XYZxyz(24.9623, 31.9660, 8.5956)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA238 #4B38A2
analogous
#A28038 #8FA238 #5AA238
triadic
#8FA238 #388FA2 #A2388F
tetradic
#8FA238 #38A280 #4B38A2 #A2385A
square
#8FA238 #38A280 #4B38A2 #A2385A
split-complementary
#8FA238 #385AA2 #8038A2
monochromatic
#3F4719 #677528 #8FA238 #B0C453 #C5D381

Accessibility & contrast

On white

2.84
#8FA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8FA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA238
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA238#FFFFFF#000000##000000
##8FA2381.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#AA9A40
Tritanopia (blue-blind)
#97998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa238;
/* rgb */ color: rgb(143, 162, 56);
/* oklch */ color: oklch(67.6% 0.132 118.8);
Tailwind
colors: {
  custom: {
    50: '#b2bd74',
    500: '#8fa238',
    950: '#000000',
  },
}
SCSS
$custom: #8fa238;
$custom-light: #b2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa238",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 70.755,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.13209,
    "h": 118.8
  },
  "luminance": 0.31966
}

Semantic roles & 50–950 ramp

primary
#8FA238
secondary
#8579BD
accent
#50D868
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA238

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

Preview Lab → · Contrast checker → · Palette generator →

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