#225E1E#225E1E

#225E1E is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.115 H 142.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#225E1E
RGBrgb(34, 94, 30)
HSLhsl(116, 52%, 24%)
HSVhsv(116, 68%, 37%)
CMYKcmyk(63.8%, 0%, 68.1%, 63.1%)
CIE-LABlab(34.88, -33.27, 30.14)
CIE-LCHlch(34.88, 44.89, 137.82°)
OKLaboklab(42.75% -0.0906 0.0701)
OKLCHoklch(42.75% 0.115 142.3)
XYZxyz(4.8965, 8.4388, 2.5989)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225E1E #5A1E5E
analogous
#425E1E #225E1E #1E5E3A
triadic
#225E1E #1E225E #5E1E22
tetradic
#225E1E #1E425E #5A1E5E #5E3A1E
square
#225E1E #1E425E #5A1E5E #5E3A1E
split-complementary
#225E1E #3A1E5E #5E1E42
monochromatic
#081707 #11300F #225E1E #338C2D #44BB3C

Accessibility & contrast

On white

7.81
#225E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#225E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225E1E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225E1E#FFFFFF#000000##FFFFFF
##225E1E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605516
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#185B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225e1e;
/* rgb */ color: rgb(34, 94, 30);
/* oklch */ color: oklch(42.8% 0.115 142.3);
Tailwind
colors: {
  custom: {
    50: '#658c5d',
    500: '#225e1e',
    950: '#000000',
  },
}
SCSS
$custom: #225e1e;
$custom-light: #658c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#225e1e",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 116.25,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.11454,
    "h": 142.3
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#225E1E
secondary
#8E4593
accent
#4DDBD2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225E1E

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

Preview Lab → · Contrast checker → · Palette generator →

#225E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva