#226039#226039

#226039 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.090 H 152.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#226039
RGBrgb(34, 96, 57)
HSLhsl(142, 48%, 25%)
HSVhsv(142, 65%, 38%)
CMYKcmyk(64.6%, 0%, 40.6%, 62.4%)
CIE-LABlab(35.99, -29.74, 16.54)
CIE-LCHlch(35.99, 34.03, 150.91°)
OKLaboklab(43.79% -0.0805 0.0413)
OKLCHoklch(43.79% 0.091 152.8)
XYZxyz(5.5806, 9.0007, 5.3133)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226039 #602249
analogous
#2A6022 #226039 #226058
triadic
#226039 #392260 #603922
tetradic
#226039 #222A60 #602249 #605822
square
#226039 #222A60 #602249 #605822
split-complementary
#226039 #582260 #60222A
monochromatic
#08170D #12331E #226039 #328D54 #42BA6F

Accessibility & contrast

On white

7.50
#226039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#226039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226039
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226039#FFFFFF#000000##FFFFFF
##2260391.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605836
Deuteranopia (green-blind)
#58523C
Tritanopia (blue-blind)
#0C5F56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226039;
/* rgb */ color: rgb(34, 96, 57);
/* oklch */ color: oklch(43.8% 0.090 152.8);
Tailwind
colors: {
  custom: {
    50: '#648e6f',
    500: '#226039',
    950: '#000000',
  },
}
SCSS
$custom: #226039;
$custom-light: #648e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#226039",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 57
  },
  "hsl": {
    "h": 142.258,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.0905,
    "h": 152.8
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#226039
secondary
#944A78
accent
#51A5D7
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #226039

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

Preview Lab → · Contrast checker → · Palette generator →

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