#225712#225712

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

Color values

HEX#225712
RGBrgb(34, 87, 18)
HSLhsl(106, 66%, 21%)
HSVhsv(106, 79%, 34%)
CMYKcmyk(60.9%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.26, -31.56, 32.81)
CIE-LCHlch(32.26, 45.53, 133.89°)
OKLaboklab(40.56% -0.0868 0.074)
OKLCHoklch(40.56% 0.114 139.5)
XYZxyz(4.1769, 7.1998, 1.7417)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225712 #471257
analogous
#445712 #225712 #125724
triadic
#225712 #122257 #571222
tetradic
#225712 #124457 #471257 #572412
square
#225712 #124457 #471257 #572412
split-complementary
#225712 #241257 #571244
monochromatic
#0A1905 #0E2408 #225712 #368A1C #4ABC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##225712#FFFFFF#000000##FFFFFF
##2257121.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)
#5A4F06
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#1C544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #225712;
/* rgb */ color: rgb(34, 87, 18);
/* oklch */ color: oklch(40.6% 0.114 139.5);
Tailwind
colors: {
  custom: {
    50: '#648755',
    500: '#225712',
    950: '#000000',
  },
}
SCSS
$custom: #225712;
$custom-light: #648755;
$custom-dark: #000000;
JSON
{
  "hex": "#225712",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 106.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.11406,
    "h": 139.5
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#225712
secondary
#7B3590
accent
#3FE9C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225712

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

Preview Lab → · Contrast checker → · Palette generator →

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