#228139#228139

#228139 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.138 H 147.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228139
RGBrgb(34, 129, 57)
HSLhsl(135, 58%, 32%)
HSVhsv(135, 74%, 51%)
CMYKcmyk(73.6%, 0%, 55.8%, 49.4%)
CIE-LABlab(47.41, -43.35, 31.02)
CIE-LCHlch(47.41, 53.31, 144.42°)
OKLaboklab(53.21% -0.1168 0.0744)
OKLCHoklch(53.21% 0.138 147.5)
XYZxyz(9.2478, 16.3350, 6.5357)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228139 #81226A
analogous
#3B8122 #228139 #228169
triadic
#228139 #392281 #813922
tetradic
#228139 #223B81 #81226A #816922
square
#228139 #223B81 #81226A #816922
split-complementary
#228139 #692281 #81223B
monochromatic
#08200E #155124 #228139 #2FB14E #4DD06D

Accessibility & contrast

On white

4.92
#228139 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#228139 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228139
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228139#FFFFFF#000000##FFFFFF
##2281391.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837532
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228139;
/* rgb */ color: rgb(34, 129, 57);
/* oklch */ color: oklch(53.2% 0.138 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ca671',
    500: '#228139',
    950: '#000000',
  },
}
SCSS
$custom: #228139;
$custom-light: #6ca671;
$custom-dark: #000000;
JSON
{
  "hex": "#228139",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 57
  },
  "hsl": {
    "h": 134.526,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.13845,
    "h": 147.5
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#228139
secondary
#B34B9A
accent
#46BCE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #228139

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

Preview Lab → · Contrast checker → · Palette generator →

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