#225A0F#225A0F

#225A0F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.120 H 139.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#225A0F
RGBrgb(34, 90, 15)
HSLhsl(105, 71%, 21%)
HSVhsv(105, 83%, 35%)
CMYKcmyk(62.2%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.32, -33.03, 35.02)
CIE-LCHlch(33.32, 48.14, 133.33°)
OKLaboklab(41.43% -0.0909 0.0782)
OKLCHoklch(41.43% 0.12 139.3)
XYZxyz(4.4019, 7.6865, 1.7035)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A0F #470F5A
analogous
#475A0F #225A0F #0F5A21
triadic
#225A0F #0F225A #5A0F22
tetradic
#225A0F #0F475A #470F5A #5A210F
square
#225A0F #0F475A #470F5A #5A210F
split-complementary
#225A0F #210F5A #5A0F47
monochromatic
#0A1A04 #0E2606 #225A0F #368E18 #4AC320

Accessibility & contrast

On white

8.28
#225A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#225A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A0F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A0F#FFFFFF#000000##FFFFFF
##225A0F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#1C574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225a0f;
/* rgb */ color: rgb(34, 90, 15);
/* oklch */ color: oklch(41.4% 0.120 139.3);
Tailwind
colors: {
  custom: {
    50: '#658954',
    500: '#225a0f',
    950: '#000000',
  },
}
SCSS
$custom: #225a0f;
$custom-light: #658954;
$custom-dark: #000000;
JSON
{
  "hex": "#225a0f",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 104.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.11991,
    "h": 139.3
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#225A0F
secondary
#7B3194
accent
#3AEEC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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