#228F35#228F35

#228F35 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.160 H 145.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228F35
RGBrgb(34, 143, 53)
HSLhsl(130, 62%, 35%)
HSVhsv(130, 76%, 56%)
CMYKcmyk(76.2%, 0%, 62.9%, 43.9%)
CIE-LABlab(52.11, -49.00, 38.52)
CIE-LCHlch(52.11, 62.32, 141.83°)
OKLaboklab(57.09% -0.1321 0.0904)
OKLCHoklch(57.09% 0.16 145.6)
XYZxyz(11.1240, 20.2408, 6.6881)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F35 #8F227C
analogous
#458F22 #228F35 #228F6C
triadic
#228F35 #35228F #8F3522
tetradic
#228F35 #22458F #8F227C #8F6C22
square
#228F35 #22458F #8F227C #8F6C22
split-complementary
#228F35 #6C228F #8F2245
monochromatic
#0A2C10 #165E23 #228F35 #2EC047 #55D76B

Accessibility & contrast

On white

4.16
#228F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F35
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F35#FFFFFF#000000##000000
##228F351.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f35;
/* rgb */ color: rgb(34, 143, 53);
/* oklch */ color: oklch(57.1% 0.160 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fb170',
    500: '#228f35',
    950: '#000000',
  },
}
SCSS
$custom: #228f35;
$custom-light: #6fb170;
$custom-dark: #000000;
JSON
{
  "hex": "#228f35",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 130.459,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.16008,
    "h": 145.6
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#228F35
secondary
#BA52A8
accent
#43C9E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #228F35

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

Preview Lab → · Contrast checker → · Palette generator →

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