#226029#226029

#226029 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.5% C 0.107 H 145.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#226029
RGBrgb(34, 96, 41)
HSLhsl(127, 48%, 25%)
HSVhsv(127, 65%, 38%)
CMYKcmyk(64.6%, 0%, 57.3%, 62.4%)
CIE-LABlab(35.72, -32.62, 25.39)
CIE-LCHlch(35.72, 41.34, 142.10°)
OKLaboklab(43.49% -0.0883 0.0608)
OKLCHoklch(43.49% 0.107 145.4)
XYZxyz(5.2425, 8.8654, 3.5323)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226029 #602259
analogous
#3A6022 #226029 #226048
triadic
#226029 #292260 #602922
tetradic
#226029 #223A60 #602259 #604822
square
#226029 #223A60 #602259 #604822
split-complementary
#226029 #482260 #60223A
monochromatic
#08170A #123316 #226029 #328D3C #42BA50

Accessibility & contrast

On white

7.57
#226029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#226029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226029
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226029#FFFFFF#000000##FFFFFF
##2260291.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625724
Deuteranopia (green-blind)
#5A522D
Tritanopia (blue-blind)
#145E54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #226029;
/* rgb */ color: rgb(34, 96, 41);
/* oklch */ color: oklch(43.5% 0.107 145.4);
Tailwind
colors: {
  custom: {
    50: '#658e64',
    500: '#226029',
    950: '#000000',
  },
}
SCSS
$custom: #226029;
$custom-light: #658e64;
$custom-dark: #000000;
JSON
{
  "hex": "#226029",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 41
  },
  "hsl": {
    "h": 126.774,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.10723,
    "h": 145.4
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#226029
secondary
#944A8C
accent
#51C8D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #226029

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

Preview Lab → · Contrast checker → · Palette generator →

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