#226520#226520

#226520 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.123 H 142.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#226520
RGBrgb(34, 101, 32)
HSLhsl(118, 52%, 26%)
HSVhsv(118, 68%, 40%)
CMYKcmyk(66.3%, 0%, 68.3%, 60.4%)
CIE-LABlab(37.39, -35.88, 31.95)
CIE-LCHlch(37.39, 48.05, 138.31°)
OKLaboklab(44.84% -0.0976 0.0741)
OKLCHoklch(44.84% 0.123 142.8)
XYZxyz(5.5738, 9.7512, 2.9547)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226520 #632065
analogous
#446520 #226520 #206540
triadic
#226520 #202265 #652022
tetradic
#226520 #204465 #632065 #654020
square
#226520 #204465 #632065 #654020
split-complementary
#226520 #402065 #652044
monochromatic
#081707 #123711 #226520 #32932F #41C23E

Accessibility & contrast

On white

7.12
#226520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#226520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226520
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226520#FFFFFF#000000##FFFFFF
##2265201.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#5F5626
Tritanopia (blue-blind)
#156257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226520;
/* rgb */ color: rgb(34, 101, 32);
/* oklch */ color: oklch(44.8% 0.123 142.8);
Tailwind
colors: {
  custom: {
    50: '#66925f',
    500: '#226520',
    950: '#000000',
  },
}
SCSS
$custom: #226520;
$custom-light: #66925f;
$custom-dark: #000000;
JSON
{
  "hex": "#226520",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 118.261,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.12255,
    "h": 142.8
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#226520
secondary
#974899
accent
#4CDBD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226520

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

Preview Lab → · Contrast checker → · Palette generator →

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