#8BA238#8BA238

#8BA238 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.134 H 120.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8BA238
RGBrgb(139, 162, 56)
HSLhsl(73, 49%, 43%)
HSVhsv(73, 65%, 64%)
CMYKcmyk(14.2%, 0%, 65.4%, 36.5%)
CIE-LABlab(63.02, -23.36, 50.56)
CIE-LCHlch(63.02, 55.69, 114.80°)
OKLaboklab(67.32% -0.068 0.115)
OKLCHoklch(67.32% 0.134 120.6)
XYZxyz(24.2819, 31.6152, 8.5638)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA238 #4F38A2
analogous
#A28438 #8BA238 #56A238
triadic
#8BA238 #388BA2 #A2388B
tetradic
#8BA238 #38A284 #4F38A2 #A23856
square
#8BA238 #38A284 #4F38A2 #A23856
split-complementary
#8BA238 #3856A2 #8438A2
monochromatic
#3D4719 #647528 #8BA238 #ABC453 #C2D381

Accessibility & contrast

On white

2.87
#8BA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8BA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA238
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA238#FFFFFF#000000##000000
##8BA2381.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#A99940
Tritanopia (blue-blind)
#929A8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba238;
/* rgb */ color: rgb(139, 162, 56);
/* oklch */ color: oklch(67.3% 0.134 120.6);
Tailwind
colors: {
  custom: {
    50: '#afbd74',
    500: '#8ba238',
    950: '#000000',
  },
}
SCSS
$custom: #8ba238;
$custom-light: #afbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba238",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 73.019,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.13363,
    "h": 120.6
  },
  "luminance": 0.31615
}

Semantic roles & 50–950 ramp

primary
#8BA238
secondary
#8879BD
accent
#50D86D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA238

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

Preview Lab → · Contrast checker → · Palette generator →

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