#228A35#228A35

#228A35 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.154 H 145.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#228A35
RGBrgb(34, 138, 53)
HSLhsl(131, 60%, 34%)
HSVhsv(131, 75%, 54%)
CMYKcmyk(75.4%, 0%, 61.6%, 45.9%)
CIE-LABlab(50.42, -47.22, 36.58)
CIE-LCHlch(50.42, 59.73, 142.24°)
OKLaboklab(55.69% -0.1273 0.0862)
OKLCHoklch(55.69% 0.154 145.9)
XYZxyz(10.3900, 18.7729, 6.4434)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A35 #8A2277
analogous
#438A22 #228A35 #228A69
triadic
#228A35 #35228A #8A3522
tetradic
#228A35 #22438A #8A2277 #8A6922
square
#228A35 #22438A #8A2277 #8A6922
split-complementary
#228A35 #69228A #8A2243
monochromatic
#0A280F #165922 #228A35 #2EBB48 #52D46A

Accessibility & contrast

On white

4.42
#228A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#228A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A35
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A35#FFFFFF#000000##000000
##228A351.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a35;
/* rgb */ color: rgb(34, 138, 53);
/* oklch */ color: oklch(55.7% 0.154 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ead6f',
    500: '#228a35',
    950: '#000000',
  },
}
SCSS
$custom: #228a35;
$custom-light: #6ead6f;
$custom-dark: #000000;
JSON
{
  "hex": "#228a35",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 130.962,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.15376,
    "h": 145.9
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#228A35
secondary
#B850A5
accent
#44C6E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228A35

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

Preview Lab → · Contrast checker → · Palette generator →

#228A35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva