#228140#228140

#228140 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.132 H 149.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228140
RGBrgb(34, 129, 64)
HSLhsl(139, 58%, 32%)
HSVhsv(139, 74%, 51%)
CMYKcmyk(73.6%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.51, -42.23, 27.44)
CIE-LCHlch(47.51, 50.36, 146.99°)
OKLaboklab(53.33% -0.1137 0.0668)
OKLCHoklch(53.33% 0.132 149.6)
XYZxyz(9.4346, 16.4097, 7.5197)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228140 #812263
analogous
#348122 #228140 #228170
triadic
#228140 #402281 #814022
tetradic
#228140 #223481 #812263 #817022
square
#228140 #223481 #812263 #817022
split-complementary
#228140 #702281 #812234
monochromatic
#082010 #155128 #228140 #2FB158 #4DD077

Accessibility & contrast

On white

4.90
#228140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#228140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228140
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228140#FFFFFF#000000##FFFFFF
##2281401.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228140;
/* rgb */ color: rgb(34, 129, 64);
/* oklch */ color: oklch(53.3% 0.132 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ca676',
    500: '#228140',
    950: '#000000',
  },
}
SCSS
$custom: #228140;
$custom-light: #6ca676;
$custom-dark: #000000;
JSON
{
  "hex": "#228140",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 138.947,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.13183,
    "h": 149.6
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#228140
secondary
#B34B93
accent
#46B0E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #228140

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

Preview Lab → · Contrast checker → · Palette generator →

#228140 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva