#225F23#225F23

#225F23 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.112 H 143.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#225F23
RGBrgb(34, 95, 35)
HSLhsl(121, 47%, 25%)
HSVhsv(121, 64%, 37%)
CMYKcmyk(64.2%, 0%, 63.2%, 62.7%)
CIE-LABlab(35.29, -33.06, 28.08)
CIE-LCHlch(35.29, 43.37, 139.65°)
OKLaboklab(43.11% -0.0897 0.0662)
OKLCHoklch(43.11% 0.112 143.6)
XYZxyz(5.0550, 8.6454, 2.9921)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F23 #5F225E
analogous
#3F5F22 #225F23 #225F42
triadic
#225F23 #23225F #5F2322
tetradic
#225F23 #223F5F #5F225E #5F4222
square
#225F23 #223F5F #5F225E #5F4222
split-complementary
#225F23 #42225F #5F223F
monochromatic
#081708 #123212 #225F23 #328C34 #42B944

Accessibility & contrast

On white

7.69
#225F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#225F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F23
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F23#FFFFFF#000000##FFFFFF
##225F231.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#175C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f23;
/* rgb */ color: rgb(34, 95, 35);
/* oklch */ color: oklch(43.1% 0.112 143.6);
Tailwind
colors: {
  custom: {
    50: '#658d60',
    500: '#225f23',
    950: '#000000',
  },
}
SCSS
$custom: #225f23;
$custom-light: #658d60;
$custom-dark: #000000;
JSON
{
  "hex": "#225f23",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 120.984,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.11151,
    "h": 143.6
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#225F23
secondary
#934A92
accent
#51D5D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #225F23

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

Preview Lab → · Contrast checker → · Palette generator →

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