#225311#225311

#225311 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.109 H 139.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#225311
RGBrgb(34, 83, 17)
HSLhsl(105, 66%, 20%)
HSVhsv(105, 80%, 33%)
CMYKcmyk(59%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.80, -29.95, 31.76)
CIE-LCHlch(30.80, 43.65, 133.32°)
OKLaboklab(39.35% -0.0825 0.0717)
OKLCHoklch(39.35% 0.109 139)
XYZxyz(3.8540, 6.5668, 1.5946)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225311 #421153
analogous
#435311 #225311 #115321
triadic
#225311 #112253 #531122
tetradic
#225311 #114353 #421153 #532111
square
#225311 #114353 #421153 #532111
split-complementary
#225311 #211153 #531143
monochromatic
#0A1905 #0D2007 #225311 #37861B #4CB926

Accessibility & contrast

On white

9.08
#225311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#225311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225311
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225311#FFFFFF#000000##FFFFFF
##2253111.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#1D5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225311;
/* rgb */ color: rgb(34, 83, 17);
/* oklch */ color: oklch(39.4% 0.109 139.0);
Tailwind
colors: {
  custom: {
    50: '#638454',
    500: '#225311',
    950: '#000000',
  },
}
SCSS
$custom: #225311;
$custom-light: #638454;
$custom-dark: #000000;
JSON
{
  "hex": "#225311",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 104.545,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39351,
    "c": 0.10928,
    "h": 139
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#225311
secondary
#75348C
accent
#3FE9BD
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225311

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

Preview Lab → · Contrast checker → · Palette generator →

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