#228F34#228F34

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

Color values

HEX#228F34
RGBrgb(34, 143, 52)
HSLhsl(130, 62%, 35%)
HSVhsv(130, 76%, 56%)
CMYKcmyk(76.2%, 0%, 63.6%, 43.9%)
CIE-LABlab(52.10, -49.12, 38.97)
CIE-LCHlch(52.10, 62.70, 141.57°)
OKLaboklab(57.08% -0.1325 0.0912)
OKLCHoklch(57.08% 0.161 145.5)
XYZxyz(11.1012, 20.2317, 6.5682)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F34 #8F227D
analogous
#478F22 #228F34 #228F6A
triadic
#228F34 #34228F #8F3422
tetradic
#228F34 #22478F #8F227D #8F6A22
square
#228F34 #22478F #8F227D #8F6A22
split-complementary
#228F34 #6A228F #8F2247
monochromatic
#0A2C10 #165E22 #228F34 #2EC046 #55D76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F34#FFFFFF#000000##000000
##228F341.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)
#91812A
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f34;
/* rgb */ color: rgb(34, 143, 52);
/* oklch */ color: oklch(57.1% 0.161 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fb16f',
    500: '#228f34',
    950: '#000000',
  },
}
SCSS
$custom: #228f34;
$custom-light: #6fb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#228f34",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 129.908,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.16088,
    "h": 145.5
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#228F34
secondary
#BA52A9
accent
#43CAE5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #228F34

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

Preview Lab → · Contrast checker → · Palette generator →

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