#226724#226724

#226724 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.122 H 143.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#226724
RGBrgb(34, 103, 36)
HSLhsl(122, 50%, 27%)
HSVhsv(122, 67%, 40%)
CMYKcmyk(67%, 0%, 65%, 59.6%)
CIE-LABlab(38.14, -36.20, 30.84)
CIE-LCHlch(38.14, 47.56, 139.57°)
OKLaboklab(45.47% -0.0982 0.0722)
OKLCHoklch(45.47% 0.122 143.7)
XYZxyz(5.8280, 10.1674, 3.3241)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226724 #672265
analogous
#436722 #226724 #226747
triadic
#226724 #242267 #672422
tetradic
#226724 #224367 #672265 #674722
square
#226724 #224367 #672265 #674722
split-complementary
#226724 #472267 #672243
monochromatic
#081708 #133914 #226724 #319534 #43C146

Accessibility & contrast

On white

6.92
#226724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#226724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226724
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226724#FFFFFF#000000##FFFFFF
##2267241.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1D
Deuteranopia (green-blind)
#61582A
Tritanopia (blue-blind)
#136459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226724;
/* rgb */ color: rgb(34, 103, 36);
/* oklch */ color: oklch(45.5% 0.122 143.7);
Tailwind
colors: {
  custom: {
    50: '#679361',
    500: '#226724',
    950: '#000000',
  },
}
SCSS
$custom: #226724;
$custom-light: #679361;
$custom-dark: #000000;
JSON
{
  "hex": "#226724",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 121.739,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.12191,
    "h": 143.7
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#226724
secondary
#9B4A98
accent
#4ED6DA
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226724

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

Preview Lab → · Contrast checker → · Palette generator →

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