#8FA23B#8FA23B

#8FA23B is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.7% C 0.130 H 118.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8FA23B
RGBrgb(143, 162, 59)
HSLhsl(71, 47%, 43%)
HSVhsv(71, 64%, 64%)
CMYKcmyk(11.7%, 0%, 63.6%, 36.5%)
CIE-LABlab(63.34, -21.46, 49.69)
CIE-LCHlch(63.34, 54.13, 113.36°)
OKLaboklab(67.66% -0.0627 0.1136)
OKLCHoklch(67.66% 0.13 118.9)
XYZxyz(25.0379, 31.9962, 8.9937)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA23B #4E3BA2
analogous
#A2813B #8FA23B #5BA23B
triadic
#8FA23B #3B8FA2 #A23B8F
tetradic
#8FA23B #3BA281 #4E3BA2 #A23B5B
square
#8FA23B #3BA281 #4E3BA2 #A23B5B
split-complementary
#8FA23B #3B5BA2 #813BA2
monochromatic
#40481A #67752B #8FA23B #AFC258 #C4D385

Accessibility & contrast

On white

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

On black

7.40
#8FA23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA23B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA23B#FFFFFF#000000##000000
##8FA23B1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992E
Deuteranopia (green-blind)
#AA9A42
Tritanopia (blue-blind)
#979A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa23b;
/* rgb */ color: rgb(143, 162, 59);
/* oklch */ color: oklch(67.7% 0.130 118.9);
Tailwind
colors: {
  custom: {
    50: '#b2bd76',
    500: '#8fa23b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa23b;
$custom-light: #b2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa23b",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 71.068,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.1297,
    "h": 118.9
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#8FA23B
secondary
#887CBD
accent
#52D66A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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