#225A23#225A23

#225A23 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.104 H 143.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#225A23
RGBrgb(34, 90, 35)
HSLhsl(121, 45%, 24%)
HSVhsv(121, 62%, 35%)
CMYKcmyk(62.2%, 0%, 61.1%, 64.7%)
CIE-LABlab(33.51, -30.93, 26.00)
CIE-LCHlch(33.51, 40.40, 139.95°)
OKLaboklab(41.64% -0.084 0.0617)
OKLCHoklch(41.64% 0.104 143.7)
XYZxyz(4.6190, 7.7733, 2.8468)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A23 #5A2259
analogous
#3D5A22 #225A23 #225A3F
triadic
#225A23 #23225A #5A2322
tetradic
#225A23 #223D5A #5A2259 #5A3F22
square
#225A23 #223D5A #5A2259 #5A3F22
split-complementary
#225A23 #3F225A #5A223D
monochromatic
#081609 #112E12 #225A23 #338634 #44B346

Accessibility & contrast

On white

8.22
#225A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#225A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A23
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A23#FFFFFF#000000##FFFFFF
##225A231.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521E
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#18574E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #225a23;
/* rgb */ color: rgb(34, 90, 35);
/* oklch */ color: oklch(41.6% 0.104 143.7);
Tailwind
colors: {
  custom: {
    50: '#648960',
    500: '#225a23',
    950: '#000000',
  },
}
SCSS
$custom: #225a23;
$custom-light: #648960;
$custom-dark: #000000;
JSON
{
  "hex": "#225a23",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 121.071,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.10419,
    "h": 143.7
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#225A23
secondary
#8E4A8D
accent
#53D3D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #225A23

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

Preview Lab → · Contrast checker → · Palette generator →

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