#226331#226331

#226331 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.104 H 148.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#226331
RGBrgb(34, 99, 49)
HSLhsl(134, 49%, 26%)
HSVhsv(134, 66%, 39%)
CMYKcmyk(65.7%, 0%, 50.5%, 61.2%)
CIE-LABlab(36.90, -32.59, 22.39)
CIE-LCHlch(36.90, 39.54, 145.52°)
OKLaboklab(44.5% -0.088 0.0546)
OKLCHoklch(44.5% 0.104 148.2)
XYZxyz(5.6755, 9.4850, 4.4368)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226331 #632254
analogous
#336322 #226331 #226351
triadic
#226331 #312263 #633122
tetradic
#226331 #223363 #632254 #635122
square
#226331 #223363 #632254 #635122
split-complementary
#226331 #512263 #632233
monochromatic
#08170B #12351A #226331 #329148 #41BE5E

Accessibility & contrast

On white

7.25
#226331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#226331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226331
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226331#FFFFFF#000000##FFFFFF
##2263311.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#106157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226331;
/* rgb */ color: rgb(34, 99, 49);
/* oklch */ color: oklch(44.5% 0.104 148.2);
Tailwind
colors: {
  custom: {
    50: '#65906a',
    500: '#226331',
    950: '#000000',
  },
}
SCSS
$custom: #226331;
$custom-light: #65906a;
$custom-dark: #000000;
JSON
{
  "hex": "#226331",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 133.846,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.10359,
    "h": 148.2
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#226331
secondary
#974A85
accent
#4FB9D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #226331

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

Preview Lab → · Contrast checker → · Palette generator →

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