#225C2A#225C2A

#225C2A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.100 H 146.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#225C2A
RGBrgb(34, 92, 42)
HSLhsl(128, 46%, 25%)
HSVhsv(128, 63%, 36%)
CMYKcmyk(63%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.32, -30.73, 23.12)
CIE-LCHlch(34.32, 38.46, 143.05°)
OKLaboklab(42.34% -0.0832 0.0559)
OKLCHoklch(42.34% 0.1 146.1)
XYZxyz(4.9044, 8.1611, 3.5068)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225C2A #5C2254
analogous
#375C22 #225C2A #225C47
triadic
#225C2A #2A225C #5C2A22
tetradic
#225C2A #22375C #5C2254 #5C4722
square
#225C2A #22375C #5C2254 #5C4722
split-complementary
#225C2A #47225C #5C2237
monochromatic
#08160A #112F16 #225C2A #33893E #43B553

Accessibility & contrast

On white

7.98
#225C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#225C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225C2A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225C2A#FFFFFF#000000##FFFFFF
##225C2A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5426
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#155A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225c2a;
/* rgb */ color: rgb(34, 92, 42);
/* oklch */ color: oklch(42.3% 0.100 146.1);
Tailwind
colors: {
  custom: {
    50: '#648b65',
    500: '#225c2a',
    950: '#000000',
  },
}
SCSS
$custom: #225c2a;
$custom-light: #648b65;
$custom-dark: #000000;
JSON
{
  "hex": "#225c2a",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 128.276,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42337,
    "c": 0.1002,
    "h": 146.1
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#225C2A
secondary
#904A86
accent
#52C4D6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #225C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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