#8BA245#8BA245

#8BA245 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.5% C 0.122 H 121.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8BA245
RGBrgb(139, 162, 69)
HSLhsl(75, 40%, 45%)
HSVhsv(75, 57%, 64%)
CMYKcmyk(14.2%, 0%, 57.4%, 36.5%)
CIE-LABlab(63.14, -22.31, 44.85)
CIE-LCHlch(63.14, 50.10, 116.45°)
OKLaboklab(67.46% -0.0638 0.1046)
OKLCHoklch(67.46% 0.123 121.4)
XYZxyz(24.6422, 31.7593, 10.4610)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA245 #5C45A2
analogous
#A28B45 #8BA245 #5CA245
triadic
#8BA245 #458BA2 #A2458B
tetradic
#8BA245 #45A28B #5C45A2 #A2455C
square
#8BA245 #45A28B #5C45A2 #A2455C
split-complementary
#8BA245 #455CA2 #8B45A2
monochromatic
#414C20 #667733 #8BA245 #A8BE66 #C1D091

Accessibility & contrast

On white

2.86
#8BA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8BA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA245
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA245#FFFFFF#000000##000000
##8BA2451.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#A8994B
Tritanopia (blue-blind)
#929A8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ba245;
/* rgb */ color: rgb(139, 162, 69);
/* oklch */ color: oklch(67.5% 0.122 121.4);
Tailwind
colors: {
  custom: {
    50: '#afbd7c',
    500: '#8ba245',
    950: '#000000',
  },
}
SCSS
$custom: #8ba245;
$custom-light: #afbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba245",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 74.839,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.1225,
    "h": 121.4
  },
  "luminance": 0.31759
}

Semantic roles & 50–950 ramp

primary
#8BA245
secondary
#9487BC
accent
#58D075
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8BA245

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

Preview Lab → · Contrast checker → · Palette generator →

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