#228B26#228B26

#228B26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.166 H 143.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228B26
RGBrgb(34, 139, 38)
HSLhsl(122, 61%, 34%)
HSVhsv(122, 76%, 55%)
CMYKcmyk(75.5%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.62, -49.23, 43.48)
CIE-LCHlch(50.62, 65.69, 138.55°)
OKLaboklab(55.81% -0.1335 0.0992)
OKLCHoklch(55.81% 0.166 143.4)
XYZxyz(10.2415, 18.9441, 4.9502)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B26 #8B2287
analogous
#538B22 #228B26 #228B5B
triadic
#228B26 #26228B #8B2622
tetradic
#228B26 #22538B #8B2287 #8B5B22
square
#228B26 #22538B #8B2287 #8B5B22
split-complementary
#228B26 #5B228B #8B2253
monochromatic
#0A290B #165A19 #228B26 #2EBC33 #53D558

Accessibility & contrast

On white

4.39
#228B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B26
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B26#FFFFFF#000000##000000
##228B261.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b26;
/* rgb */ color: rgb(34, 139, 38);
/* oklch */ color: oklch(55.8% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fae66',
    500: '#228b26',
    950: '#000000',
  },
}
SCSS
$custom: #228b26;
$custom-light: #6fae66;
$custom-dark: #000000;
JSON
{
  "hex": "#228b26",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 122.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.16627,
    "h": 143.4
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#228B26
secondary
#B850B5
accent
#44DEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228B26

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

Preview Lab → · Contrast checker → · Palette generator →

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