#8AA523#8AA523

#8AA523 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.8% C 0.151 H 121.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8AA523
RGBrgb(138, 165, 35)
HSLhsl(72, 65%, 39%)
HSVhsv(72, 79%, 65%)
CMYKcmyk(16.4%, 0%, 78.8%, 35.3%)
CIE-LABlab(63.70, -26.46, 58.96)
CIE-LCHlch(63.70, 64.62, 114.17°)
OKLaboklab(67.81% -0.0784 0.1293)
OKLCHoklch(67.81% 0.151 121.2)
XYZxyz(24.2402, 32.4349, 6.5733)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA523 #3E23A5
analogous
#A57F23 #8AA523 #49A523
triadic
#8AA523 #238AA5 #A5238A
tetradic
#8AA523 #23A57F #3E23A5 #A52349
square
#8AA523 #23A57F #3E23A5 #A52349
split-complementary
#8AA523 #2349A5 #7F23A5
monochromatic
#36400E #607318 #8AA523 #B2D332 #C5DE64

Accessibility & contrast

On white

2.80
#8AA523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#8AA523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA523
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA523#FFFFFF#000000##000000
##8AA5231.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#929C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa523;
/* rgb */ color: rgb(138, 165, 35);
/* oklch */ color: oklch(67.8% 0.151 121.2);
Tailwind
colors: {
  custom: {
    50: '#b0bf6a',
    500: '#8aa523',
    950: '#000000',
  },
}
SCSS
$custom: #8aa523;
$custom-light: #b0bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa523",
  "rgb": {
    "r": 138,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 72.462,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.15124,
    "h": 121.2
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#8AA523
secondary
#7560C4
accent
#40E863
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA523

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

Preview Lab → · Contrast checker → · Palette generator →

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