#228235#228235

#228235 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.143 H 146.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228235
RGBrgb(34, 130, 53)
HSLhsl(132, 59%, 32%)
HSVhsv(132, 74%, 51%)
CMYKcmyk(73.8%, 0%, 59.2%, 49%)
CIE-LABlab(47.70, -44.31, 33.41)
CIE-LCHlch(47.70, 55.49, 142.98°)
OKLaboklab(53.44% -0.1194 0.0793)
OKLCHoklch(53.44% 0.143 146.4)
XYZxyz(9.2843, 16.5613, 6.0748)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228235 #82226F
analogous
#3F8222 #228235 #228265
triadic
#228235 #352282 #823522
tetradic
#228235 #223F82 #82226F #826522
square
#228235 #223F82 #82226F #826522
split-complementary
#228235 #652282 #82223F
monochromatic
#09210D #155121 #228235 #2FB349 #4ED168

Accessibility & contrast

On white

4.87
#228235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#228235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228235
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228235#FFFFFF#000000##FFFFFF
##2282351.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228235;
/* rgb */ color: rgb(34, 130, 53);
/* oklch */ color: oklch(53.4% 0.143 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ca76f',
    500: '#228235',
    950: '#000000',
  },
}
SCSS
$custom: #228235;
$custom-light: #6ca76f;
$custom-dark: #000000;
JSON
{
  "hex": "#228235",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 131.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.14339,
    "h": 146.4
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#228235
secondary
#B44C9F
accent
#46C3E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #228235

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

Preview Lab → · Contrast checker → · Palette generator →

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