#228138#228138

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

Color values

HEX#228138
RGBrgb(34, 129, 56)
HSLhsl(134, 58%, 32%)
HSVhsv(134, 74%, 51%)
CMYKcmyk(73.6%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.40, -43.50, 31.52)
CIE-LCHlch(47.40, 53.72, 144.07°)
OKLaboklab(53.2% -0.1172 0.0754)
OKLCHoklch(53.2% 0.139 147.2)
XYZxyz(9.2231, 16.3251, 6.4056)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228138 #81226B
analogous
#3C8122 #228138 #228168
triadic
#228138 #382281 #813822
tetradic
#228138 #223C81 #81226B #816822
square
#228138 #223C81 #81226B #816822
split-complementary
#228138 #682281 #81223C
monochromatic
#08200E #155123 #228138 #2FB14D #4DD06C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228138#FFFFFF#000000##FFFFFF
##2281381.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)
#837531
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228138;
/* rgb */ color: rgb(34, 129, 56);
/* oklch */ color: oklch(53.2% 0.139 147.2);
Tailwind
colors: {
  custom: {
    50: '#6ca670',
    500: '#228138',
    950: '#000000',
  },
}
SCSS
$custom: #228138;
$custom-light: #6ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#228138",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 133.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.13936,
    "h": 147.2
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#228138
secondary
#B34B9B
accent
#46BEE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #228138

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

Preview Lab → · Contrast checker → · Palette generator →

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