#228F43#228F43

#228F43 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.148 H 148.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#228F43
RGBrgb(34, 143, 67)
HSLhsl(138, 62%, 35%)
HSVhsv(138, 76%, 56%)
CMYKcmyk(76.2%, 0%, 53.1%, 43.9%)
CIE-LABlab(52.27, -47.03, 31.77)
CIE-LCHlch(52.27, 56.75, 145.95°)
OKLaboklab(57.28% -0.1264 0.0767)
OKLCHoklch(57.28% 0.148 148.8)
XYZxyz(11.4944, 20.3889, 8.6388)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F43 #8F226E
analogous
#388F22 #228F43 #228F7A
triadic
#228F43 #43228F #8F4322
tetradic
#228F43 #22388F #8F226E #8F7A22
square
#228F43 #22388F #8F226E #8F7A22
split-complementary
#228F43 #7A228F #8F2238
monochromatic
#0A2C15 #165E2C #228F43 #2EC05A #55D77C

Accessibility & contrast

On white

4.14
#228F43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#228F43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F43
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F43#FFFFFF#000000##000000
##228F431.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#847949
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f43;
/* rgb */ color: rgb(34, 143, 67);
/* oklch */ color: oklch(57.3% 0.148 148.8);
Tailwind
colors: {
  custom: {
    50: '#6fb179',
    500: '#228f43',
    950: '#000000',
  },
}
SCSS
$custom: #228f43;
$custom-light: #6fb179;
$custom-dark: #000000;
JSON
{
  "hex": "#228f43",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 67
  },
  "hsl": {
    "h": 138.165,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.14788,
    "h": 148.8
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#228F43
secondary
#BA529B
accent
#43B4E5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F43

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

Preview Lab → · Contrast checker → · Palette generator →

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