#228F26#228F26

#228F26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 143.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228F26
RGBrgb(34, 143, 38)
HSLhsl(122, 62%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(76.2%, 0%, 73.4%, 43.9%)
CIE-LABlab(51.98, -50.59, 44.89)
CIE-LCHlch(51.98, 67.64, 138.42°)
OKLaboklab(56.94% -0.1371 0.1021)
OKLCHoklch(56.94% 0.171 143.3)
XYZxyz(10.8313, 20.1237, 5.1468)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F26 #8F228B
analogous
#548F22 #228F26 #228F5D
triadic
#228F26 #26228F #8F2622
tetradic
#228F26 #22548F #8F228B #8F5D22
square
#228F26 #22548F #8F228B #8F5D22
split-complementary
#228F26 #5D228F #8F2254
monochromatic
#0A2C0C #165E19 #228F26 #2EC033 #55D75A

Accessibility & contrast

On white

4.18
#228F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F26
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F26#FFFFFF#000000##000000
##228F261.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f26;
/* rgb */ color: rgb(34, 143, 38);
/* oklch */ color: oklch(56.9% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#70b167',
    500: '#228f26',
    950: '#000000',
  },
}
SCSS
$custom: #228f26;
$custom-light: #70b167;
$custom-dark: #000000;
JSON
{
  "hex": "#228f26",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 122.202,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.17097,
    "h": 143.3
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#228F26
secondary
#BA52B7
accent
#43DFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F26

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

Preview Lab → · Contrast checker → · Palette generator →

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