#8AAF3D#8AAF3D

#8AAF3D is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.147 H 125.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8AAF3D
RGBrgb(138, 175, 61)
HSLhsl(79, 48%, 46%)
HSVhsv(79, 65%, 69%)
CMYKcmyk(21.1%, 0%, 65.1%, 31.4%)
CIE-LABlab(66.82, -29.73, 52.46)
CIE-LCHlch(66.82, 60.30, 119.54°)
OKLaboklab(70.38% -0.0851 0.1198)
OKLCHoklch(70.38% 0.147 125.4)
XYZxyz(26.6536, 36.3998, 10.0356)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF3D #623DAF
analogous
#AF9B3D #8AAF3D #51AF3D
triadic
#8AAF3D #3D8AAF #AF3D8A
tetradic
#8AAF3D #3DAF9B #623DAF #AF3D51
square
#8AAF3D #3DAF9B #623DAF #AF3D51
split-complementary
#8AAF3D #3D51AF #9B3DAF
monochromatic
#42541D #66822D #8AAF3D #A7C861 #C0D88F

Accessibility & contrast

On white

2.54
#8AAF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#8AAF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF3D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF3D#FFFFFF#000000##000000
##8AAF3D1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42E
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#90A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf3d;
/* rgb */ color: rgb(138, 175, 61);
/* oklch */ color: oklch(70.4% 0.147 125.4);
Tailwind
colors: {
  custom: {
    50: '#afc778',
    500: '#8aaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf3d;
$custom-light: #afc778;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf3d",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 79.474,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.14694,
    "h": 125.4
  },
  "luminance": 0.364
}

Semantic roles & 50–950 ramp

primary
#8AAF3D
secondary
#9985C3
accent
#50D87C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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