#225811#225811

#225811 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.116 H 139.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#225811
RGBrgb(34, 88, 17)
HSLhsl(106, 68%, 21%)
HSVhsv(106, 81%, 35%)
CMYKcmyk(61.4%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.61, -32.06, 33.56)
CIE-LCHlch(32.61, 46.42, 133.69°)
OKLaboklab(40.85% -0.0882 0.0754)
OKLCHoklch(40.85% 0.116 139.5)
XYZxyz(4.2504, 7.3596, 1.7268)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225811 #471158
analogous
#455811 #225811 #115823
triadic
#225811 #112258 #581122
tetradic
#225811 #114558 #471158 #582311
square
#225811 #114558 #471158 #582311
split-complementary
#225811 #231158 #581145
monochromatic
#0A1A05 #0E2507 #225811 #368B1B #4ABF25

Accessibility & contrast

On white

8.50
#225811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#225811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225811
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225811#FFFFFF#000000##FFFFFF
##2258111.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F04
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#1C554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #225811;
/* rgb */ color: rgb(34, 88, 17);
/* oklch */ color: oklch(40.8% 0.116 139.5);
Tailwind
colors: {
  custom: {
    50: '#648855',
    500: '#225811',
    950: '#000000',
  },
}
SCSS
$custom: #225811;
$custom-light: #648855;
$custom-dark: #000000;
JSON
{
  "hex": "#225811",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 105.634,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.11605,
    "h": 139.5
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#225811
secondary
#7B3491
accent
#3DEAC1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225811

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

Preview Lab → · Contrast checker → · Palette generator →

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