#225F26#225F26

#225F26 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.109 H 144.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#225F26
RGBrgb(34, 95, 38)
HSLhsl(124, 47%, 25%)
HSVhsv(124, 64%, 37%)
CMYKcmyk(64.2%, 0%, 60%, 62.7%)
CIE-LABlab(35.33, -32.64, 26.54)
CIE-LCHlch(35.33, 42.07, 140.88°)
OKLaboklab(43.15% -0.0885 0.0631)
OKLCHoklch(43.15% 0.109 144.5)
XYZxyz(5.1014, 8.6640, 3.2368)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F26 #5F225B
analogous
#3D5F22 #225F26 #225F44
triadic
#225F26 #26225F #5F2622
tetradic
#225F26 #223D5F #5F225B #5F4422
square
#225F26 #223D5F #5F225B #5F4422
split-complementary
#225F26 #44225F #5F223D
monochromatic
#081709 #123214 #225F26 #328C38 #42B94A

Accessibility & contrast

On white

7.68
#225F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225F26
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F26#FFFFFF#000000##FFFFFF
##225F261.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615620
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#165C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f26;
/* rgb */ color: rgb(34, 95, 38);
/* oklch */ color: oklch(43.2% 0.109 144.5);
Tailwind
colors: {
  custom: {
    50: '#658d62',
    500: '#225f26',
    950: '#000000',
  },
}
SCSS
$custom: #225f26;
$custom-light: #658d62;
$custom-dark: #000000;
JSON
{
  "hex": "#225f26",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 38
  },
  "hsl": {
    "h": 123.934,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.10869,
    "h": 144.5
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#225F26
secondary
#934A8E
accent
#51CED7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #225F26

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

Preview Lab → · Contrast checker → · Palette generator →

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