#8FA23C#8FA23C

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

Color values

HEX#8FA23C
RGBrgb(143, 162, 60)
HSLhsl(71, 46%, 44%)
HSVhsv(71, 63%, 64%)
CMYKcmyk(11.7%, 0%, 63%, 36.5%)
CIE-LABlab(63.35, -21.39, 49.26)
CIE-LCHlch(63.35, 53.71, 113.47°)
OKLaboklab(67.67% -0.0624 0.1128)
OKLCHoklch(67.67% 0.129 118.9)
XYZxyz(25.0640, 32.0067, 9.1316)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA23C #4F3CA2
analogous
#A2823C #8FA23C #5CA23C
triadic
#8FA23C #3C8FA2 #A23C8F
tetradic
#8FA23C #3CA282 #4F3CA2 #A23C5C
square
#8FA23C #3CA282 #4F3CA2 #A23C5C
split-complementary
#8FA23C #3C5CA2 #823CA2
monochromatic
#40491B #68752B #8FA23C #AEC259 #C4D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA23C#FFFFFF#000000##000000
##8FA23C1.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)
#AC9930
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#979A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa23c;
/* rgb */ color: rgb(143, 162, 60);
/* oklch */ color: oklch(67.7% 0.129 118.9);
Tailwind
colors: {
  custom: {
    50: '#b2bd76',
    500: '#8fa23c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa23c;
$custom-light: #b2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa23c",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 71.176,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67668,
    "c": 0.12888,
    "h": 118.9
  },
  "luminance": 0.32007
}

Semantic roles & 50–950 ramp

primary
#8FA23C
secondary
#897DBC
accent
#52D66B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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