#228C26#228C26

#228C26 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.167 H 143.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228C26
RGBrgb(34, 140, 38)
HSLhsl(122, 61%, 34%)
HSVhsv(122, 76%, 55%)
CMYKcmyk(75.7%, 0%, 72.9%, 45.1%)
CIE-LABlab(50.96, -49.58, 43.84)
CIE-LCHlch(50.96, 66.18, 138.52°)
OKLaboklab(56.09% -0.1344 0.0999)
OKLCHoklch(56.09% 0.167 143.4)
XYZxyz(10.3870, 19.2350, 4.9987)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C26 #8C2288
analogous
#538C22 #228C26 #228C5B
triadic
#228C26 #26228C #8C2622
tetradic
#228C26 #22538C #8C2288 #8C5B22
square
#228C26 #22538C #8C2288 #8C5B22
split-complementary
#228C26 #5B228C #8C2253
monochromatic
#0A2A0B #165B19 #228C26 #2EBD33 #53D558

Accessibility & contrast

On white

4.33
#228C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C26
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C26#FFFFFF#000000##000000
##228C261.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c26;
/* rgb */ color: rgb(34, 140, 38);
/* oklch */ color: oklch(56.1% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#6faf67',
    500: '#228c26',
    950: '#000000',
  },
}
SCSS
$custom: #228c26;
$custom-light: #6faf67;
$custom-dark: #000000;
JSON
{
  "hex": "#228c26",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 122.264,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.16745,
    "h": 143.4
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#228C26
secondary
#B951B5
accent
#44DEE4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228C26

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

Preview Lab → · Contrast checker → · Palette generator →

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