#228026#228026

#228026 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.153 H 143.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228026
RGBrgb(34, 128, 38)
HSLhsl(123, 58%, 32%)
HSVhsv(123, 73%, 50%)
CMYKcmyk(73.4%, 0%, 70.3%, 49.8%)
CIE-LABlab(46.87, -45.39, 39.52)
CIE-LCHlch(46.87, 60.19, 138.96°)
OKLaboklab(52.7% -0.123 0.0908)
OKLCHoklch(52.7% 0.153 143.6)
XYZxyz(8.7282, 15.9174, 4.4457)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228026 #80227C
analogous
#4D8022 #228026 #228055
triadic
#228026 #262280 #802622
tetradic
#228026 #224D80 #80227C #805522
square
#228026 #224D80 #80227C #805522
split-complementary
#228026 #552280 #80224D
monochromatic
#081F09 #155018 #228026 #2FB034 #4DD052

Accessibility & contrast

On white

5.02
#228026 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#228026 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228026
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228026#FFFFFF#000000##FFFFFF
##2280261.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228026;
/* rgb */ color: rgb(34, 128, 38);
/* oklch */ color: oklch(52.7% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca665',
    500: '#228026',
    950: '#000000',
  },
}
SCSS
$custom: #228026;
$custom-light: #6ca665;
$custom-dark: #000000;
JSON
{
  "hex": "#228026",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 122.553,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.15294,
    "h": 143.6
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#228026
secondary
#B24BAE
accent
#47DBE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228026

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

Preview Lab → · Contrast checker → · Palette generator →

#228026 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva