#225E1F#225E1F

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

Color values

HEX#225E1F
RGBrgb(34, 94, 31)
HSLhsl(117, 50%, 25%)
HSVhsv(117, 67%, 37%)
CMYKcmyk(63.8%, 0%, 67%, 63.1%)
CIE-LABlab(34.89, -33.15, 29.66)
CIE-LCHlch(34.89, 44.48, 138.18°)
OKLaboklab(42.77% -0.0902 0.0692)
OKLCHoklch(42.77% 0.114 142.5)
XYZxyz(4.9095, 8.4440, 2.6672)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225E1F #5B1F5E
analogous
#425E1F #225E1F #1F5E3C
triadic
#225E1F #1F225E #5E1F22
tetradic
#225E1F #1F425E #5B1F5E #5E3C1F
square
#225E1F #1F425E #5B1F5E #5E3C1F
split-complementary
#225E1F #3C1F5E #5E1F42
monochromatic
#081708 #113010 #225E1F #338C2E #43BA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##225E1F#FFFFFF#000000##FFFFFF
##225E1F1.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)
#605518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#185B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225e1f;
/* rgb */ color: rgb(34, 94, 31);
/* oklch */ color: oklch(42.8% 0.114 142.5);
Tailwind
colors: {
  custom: {
    50: '#658c5d',
    500: '#225e1f',
    950: '#000000',
  },
}
SCSS
$custom: #225e1f;
$custom-light: #658c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#225e1f",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 117.143,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.11367,
    "h": 142.5
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#225E1F
secondary
#8F4693
accent
#4EDAD3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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