#225012#225012

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

Color values

HEX#225012
RGBrgb(34, 80, 18)
HSLhsl(105, 63%, 19%)
HSVhsv(105, 78%, 31%)
CMYKcmyk(57.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.72, -28.55, 30.22)
CIE-LCHlch(29.72, 41.58, 133.37°)
OKLaboklab(38.46% -0.0786 0.0686)
OKLCHoklch(38.46% 0.104 138.9)
XYZxyz(3.6374, 6.1208, 1.5619)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225012 #401250
analogous
#415012 #225012 #125021
triadic
#225012 #122250 #501222
tetradic
#225012 #124150 #401250 #502112
square
#225012 #124150 #401250 #502112
split-complementary
#225012 #211250 #501241
monochromatic
#0B1906 #0D1E07 #225012 #37821D #4CB428

Accessibility & contrast

On white

9.44
#225012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#225012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225012
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225012#FFFFFF#000000##FFFFFF
##2250121.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534808
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#1E4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #225012;
/* rgb */ color: rgb(34, 80, 18);
/* oklch */ color: oklch(38.5% 0.104 138.9);
Tailwind
colors: {
  custom: {
    50: '#638154',
    500: '#225012',
    950: '#000000',
  },
}
SCSS
$custom: #225012;
$custom-light: #638154;
$custom-dark: #000000;
JSON
{
  "hex": "#225012",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 104.516,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.10438,
    "h": 138.9
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#225012
secondary
#733589
accent
#41E6BC
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225012

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

Preview Lab → · Contrast checker → · Palette generator →

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