#8AA123#8AA123

#8AA123 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.9% C 0.147 H 119.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8AA123
RGBrgb(138, 161, 35)
HSLhsl(71, 64%, 38%)
HSVhsv(71, 78%, 63%)
CMYKcmyk(14.3%, 0%, 78.3%, 36.9%)
CIE-LABlab(62.52, -24.49, 57.87)
CIE-LCHlch(62.52, 62.84, 112.94°)
OKLaboklab(66.85% -0.073 0.127)
OKLCHoklch(66.85% 0.147 119.9)
XYZxyz(23.5300, 31.0145, 6.3366)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA123 #3A23A1
analogous
#A17923 #8AA123 #4BA123
triadic
#8AA123 #238AA1 #A1238A
tetradic
#8AA123 #23A179 #3A23A1 #A1234B
square
#8AA123 #23A179 #3A23A1 #A1234B
split-complementary
#8AA123 #234BA1 #7923A1
monochromatic
#343C0D #5F6F18 #8AA123 #B4D22F #C6DD62

Accessibility & contrast

On white

2.92
#8AA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8AA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA123
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA123#FFFFFF#000000##000000
##8AA1231.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A9972F
Tritanopia (blue-blind)
#92988A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa123;
/* rgb */ color: rgb(138, 161, 35);
/* oklch */ color: oklch(66.9% 0.147 119.9);
Tailwind
colors: {
  custom: {
    50: '#b0bc69',
    500: '#8aa123',
    950: '#000000',
  },
}
SCSS
$custom: #8aa123;
$custom-light: #b0bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa123",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 70.952,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.14652,
    "h": 119.9
  },
  "luminance": 0.31014
}

Semantic roles & 50–950 ramp

primary
#8AA123
secondary
#705EC2
accent
#41E75F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA123

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

Preview Lab → · Contrast checker → · Palette generator →

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