#225E27#225E27

#225E27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.106 H 144.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#225E27
RGBrgb(34, 94, 39)
HSLhsl(125, 47%, 25%)
HSVhsv(125, 64%, 37%)
CMYKcmyk(63.8%, 0%, 58.5%, 63.1%)
CIE-LABlab(34.99, -32.07, 25.59)
CIE-LCHlch(34.99, 41.03, 141.41°)
OKLaboklab(42.88% -0.0869 0.0611)
OKLCHoklch(42.88% 0.106 144.9)
XYZxyz(5.0283, 8.4915, 3.2931)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225E27 #5E2259
analogous
#3B5E22 #225E27 #225E45
triadic
#225E27 #27225E #5E2722
tetradic
#225E27 #223B5E #5E2259 #5E4522
square
#225E27 #223B5E #5E2259 #5E4522
split-complementary
#225E27 #45225E #5E223B
monochromatic
#081609 #123114 #225E27 #328B3A #43B84C

Accessibility & contrast

On white

7.78
#225E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#225E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225E27
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225E27#FFFFFF#000000##FFFFFF
##225E271.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605522
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#165C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225e27;
/* rgb */ color: rgb(34, 94, 39);
/* oklch */ color: oklch(42.9% 0.106 144.9);
Tailwind
colors: {
  custom: {
    50: '#648c63',
    500: '#225e27',
    950: '#000000',
  },
}
SCSS
$custom: #225e27;
$custom-light: #648c63;
$custom-dark: #000000;
JSON
{
  "hex": "#225e27",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 125,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.10624,
    "h": 144.9
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#225E27
secondary
#924A8C
accent
#51CBD7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #225E27

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

Preview Lab → · Contrast checker → · Palette generator →

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