#228426#228426

#228426 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.158 H 143.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228426
RGBrgb(34, 132, 38)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 52%)
CMYKcmyk(74.2%, 0%, 71.2%, 48.2%)
CIE-LABlab(48.24, -46.81, 40.98)
CIE-LCHlch(48.24, 62.21, 138.80°)
OKLaboklab(53.83% -0.1269 0.0939)
OKLCHoklch(53.83% 0.158 143.5)
XYZxyz(9.2602, 16.9815, 4.6231)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228426 #842280
analogous
#4F8422 #228426 #228457
triadic
#228426 #262284 #842622
tetradic
#228426 #224F84 #842280 #845722
square
#228426 #224F84 #842280 #845722
split-complementary
#228426 #572284 #84224F
monochromatic
#09230A #155318 #228426 #2FB534 #4FD254

Accessibility & contrast

On white

4.78
#228426 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#228426 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228426
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228426#FFFFFF#000000##FFFFFF
##2284261.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877718
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228426;
/* rgb */ color: rgb(34, 132, 38);
/* oklch */ color: oklch(53.8% 0.158 143.5);
Tailwind
colors: {
  custom: {
    50: '#6da966',
    500: '#228426',
    950: '#000000',
  },
}
SCSS
$custom: #228426;
$custom-light: #6da966;
$custom-dark: #000000;
JSON
{
  "hex": "#228426",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 122.449,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.15785,
    "h": 143.5
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#228426
secondary
#B54DB1
accent
#46DCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228426

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

Preview Lab → · Contrast checker → · Palette generator →

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