#225018#225018

#225018 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.100 H 140.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#225018
RGBrgb(34, 80, 24)
HSLhsl(109, 54%, 20%)
HSVhsv(109, 70%, 31%)
CMYKcmyk(57.5%, 0%, 70%, 68.6%)
CIE-LABlab(29.77, -27.94, 27.45)
CIE-LCHlch(29.77, 39.17, 135.50°)
OKLaboklab(38.52% -0.0766 0.0636)
OKLCHoklch(38.52% 0.1 140.3)
XYZxyz(3.6931, 6.1431, 1.8551)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225018 #461850
analogous
#3E5018 #225018 #18502A
triadic
#225018 #182250 #501822
tetradic
#225018 #183E50 #461850 #502A18
square
#225018 #183E50 #461850 #502A18
split-complementary
#225018 #2A1850 #50183E
monochromatic
#0A1807 #0E210A #225018 #367F26 #4AAE34

Accessibility & contrast

On white

9.42
#225018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#225018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225018
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225018#FFFFFF#000000##FFFFFF
##2250181.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524911
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#1D4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #225018;
/* rgb */ color: rgb(34, 80, 24);
/* oklch */ color: oklch(38.5% 0.100 140.3);
Tailwind
colors: {
  custom: {
    50: '#628158',
    500: '#225018',
    950: '#000000',
  },
}
SCSS
$custom: #225018;
$custom-light: #628158;
$custom-dark: #000000;
JSON
{
  "hex": "#225018",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 109.286,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.09954,
    "h": 140.3
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#225018
secondary
#7A3D87
accent
#4BDDC3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225018

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

Preview Lab → · Contrast checker → · Palette generator →

#225018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva