#8FB938#8FB938

#8FB938 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.1% C 0.161 H 125.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8FB938
RGBrgb(143, 185, 56)
HSLhsl(80, 54%, 47%)
HSVhsv(80, 70%, 73%)
CMYKcmyk(22.7%, 0%, 69.7%, 27.5%)
CIE-LABlab(70.05, -32.80, 57.91)
CIE-LCHlch(70.05, 66.56, 119.53°)
OKLaboklab(73.07% -0.0943 0.1304)
OKLCHoklch(73.07% 0.161 125.9)
XYZxyz(29.3906, 40.8227, 10.0718)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB938 #6238B9
analogous
#B9A338 #8FB938 #4EB938
triadic
#8FB938 #388FB9 #B9388F
tetradic
#8FB938 #38B9A3 #6238B9 #B9384E
square
#8FB938 #38B9A3 #6238B9 #B9384E
split-complementary
#8FB938 #384EB9 #A338B9
monochromatic
#465B1C #6B8A2A #8FB938 #ABCF5F #C3DD8E

Accessibility & contrast

On white

2.29
#8FB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#8FB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB938
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB938#FFFFFF#000000##000000
##8FB9381.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#95B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fb938;
/* rgb */ color: rgb(143, 185, 56);
/* oklch */ color: oklch(73.1% 0.161 125.9);
Tailwind
colors: {
  custom: {
    50: '#b3ce76',
    500: '#8fb938',
    950: '#000000',
  },
}
SCSS
$custom: #8fb938;
$custom-light: #b3ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb938",
  "rgb": {
    "r": 143,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 79.535,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.16096,
    "h": 125.9
  },
  "luminance": 0.40823
}

Semantic roles & 50–950 ramp

primary
#8FB938
secondary
#9B85C8
accent
#4BDD7A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB938

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

Preview Lab → · Contrast checker → · Palette generator →

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