#225711#225711

#225711 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.115 H 139.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#225711
RGBrgb(34, 87, 17)
HSLhsl(105, 67%, 20%)
HSVhsv(105, 80%, 34%)
CMYKcmyk(60.9%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.25, -31.64, 33.21)
CIE-LCHlch(32.25, 45.87, 133.62°)
OKLaboklab(40.55% -0.0871 0.0747)
OKLCHoklch(40.55% 0.115 139.4)
XYZxyz(4.1689, 7.1966, 1.6996)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225711 #461157
analogous
#455711 #225711 #115723
triadic
#225711 #112257 #571122
tetradic
#225711 #114557 #461157 #572311
square
#225711 #114557 #461157 #572311
split-complementary
#225711 #231157 #571145
monochromatic
#0A1A05 #0E2407 #225711 #368A1B #4ABD25

Accessibility & contrast

On white

8.61
#225711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#225711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225711
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225711#FFFFFF#000000##FFFFFF
##2257111.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#1C544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #225711;
/* rgb */ color: rgb(34, 87, 17);
/* oklch */ color: oklch(40.5% 0.115 139.4);
Tailwind
colors: {
  custom: {
    50: '#648755',
    500: '#225711',
    950: '#000000',
  },
}
SCSS
$custom: #225711;
$custom-light: #648755;
$custom-dark: #000000;
JSON
{
  "hex": "#225711",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 105.429,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.11471,
    "h": 139.4
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#225711
secondary
#7A3490
accent
#3EEAC0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225711

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

Preview Lab → · Contrast checker → · Palette generator →

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