#228135#228135

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

Color values

HEX#228135
RGBrgb(34, 129, 53)
HSLhsl(132, 58%, 32%)
HSVhsv(132, 74%, 51%)
CMYKcmyk(73.6%, 0%, 58.9%, 49.4%)
CIE-LABlab(47.36, -43.94, 33.01)
CIE-LCHlch(47.36, 54.95, 143.09°)
OKLaboklab(53.16% -0.1184 0.0784)
OKLCHoklch(53.16% 0.142 146.5)
XYZxyz(9.1519, 16.2966, 6.0307)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228135 #81226E
analogous
#3F8122 #228135 #228165
triadic
#228135 #352281 #813522
tetradic
#228135 #223F81 #81226E #816522
square
#228135 #223F81 #81226E #816522
split-complementary
#228135 #652281 #81223F
monochromatic
#08200D #155121 #228135 #2FB149 #4DD067

Accessibility & contrast

On white

4.93
#228135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#228135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228135
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228135#FFFFFF#000000##FFFFFF
##2281351.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752E
Deuteranopia (green-blind)
#786D3B
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228135;
/* rgb */ color: rgb(34, 129, 53);
/* oklch */ color: oklch(53.2% 0.142 146.5);
Tailwind
colors: {
  custom: {
    50: '#6ca66f',
    500: '#228135',
    950: '#000000',
  },
}
SCSS
$custom: #228135;
$custom-light: #6ca66f;
$custom-dark: #000000;
JSON
{
  "hex": "#228135",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 132,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.14207,
    "h": 146.5
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#228135
secondary
#B34B9F
accent
#46C2E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228135

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

Preview Lab → · Contrast checker → · Palette generator →

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