#8AA823#8AA823

#8AA823 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.155 H 122.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8AA823
RGBrgb(138, 168, 35)
HSLhsl(74, 66%, 40%)
HSVhsv(74, 79%, 66%)
CMYKcmyk(17.9%, 0%, 79.2%, 34.1%)
CIE-LABlab(64.59, -27.91, 59.77)
CIE-LCHlch(64.59, 65.96, 115.03°)
OKLaboklab(68.52% -0.0824 0.1311)
OKLCHoklch(68.52% 0.155 122.1)
XYZxyz(24.7876, 33.5298, 6.7558)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA823 #4123A8
analogous
#A88423 #8AA823 #47A823
triadic
#8AA823 #238AA8 #A8238A
tetradic
#8AA823 #23A884 #4123A8 #A82347
square
#8AA823 #23A884 #4123A8 #A82347
split-complementary
#8AA823 #2347A8 #8423A8
monochromatic
#37430E #607518 #8AA823 #B0D534 #C4DF66

Accessibility & contrast

On white

2.73
#8AA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#8AA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA823
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA823#FFFFFF#000000##000000
##8AA8231.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#929F90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa823;
/* rgb */ color: rgb(138, 168, 35);
/* oklch */ color: oklch(68.5% 0.155 122.1);
Tailwind
colors: {
  custom: {
    50: '#b0c16a',
    500: '#8aa823',
    950: '#000000',
  },
}
SCSS
$custom: #8aa823;
$custom-light: #b0c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa823",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 73.534,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.15478,
    "h": 122.1
  },
  "luminance": 0.3353
}

Semantic roles & 50–950 ramp

primary
#8AA823
secondary
#7862C5
accent
#3FE865
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA823

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

Preview Lab → · Contrast checker → · Palette generator →

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