#225017#225017

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

Color values

HEX#225017
RGBrgb(34, 80, 23)
HSLhsl(108, 55%, 20%)
HSVhsv(108, 71%, 31%)
CMYKcmyk(57.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.76, -28.05, 27.94)
CIE-LCHlch(29.76, 39.59, 135.12°)
OKLaboklab(38.51% -0.0769 0.0645)
OKLCHoklch(38.51% 0.1 140)
XYZxyz(3.6828, 6.1390, 1.8013)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225017 #451750
analogous
#3E5017 #225017 #175028
triadic
#225017 #172250 #501722
tetradic
#225017 #173E50 #451750 #502817
square
#225017 #173E50 #451750 #502817
split-complementary
#225017 #281750 #50173E
monochromatic
#0A1807 #0E2009 #225017 #368025 #4AAF32

Accessibility & contrast

On white

9.43
#225017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225017
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225017#FFFFFF#000000##FFFFFF
##2250171.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #225017;
/* rgb */ color: rgb(34, 80, 23);
/* oklch */ color: oklch(38.5% 0.100 140.0);
Tailwind
colors: {
  custom: {
    50: '#628157',
    500: '#225017',
    950: '#000000',
  },
}
SCSS
$custom: #225017;
$custom-light: #628157;
$custom-dark: #000000;
JSON
{
  "hex": "#225017",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 108.421,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.1004,
    "h": 140
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#225017
secondary
#793C87
accent
#49DFC2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225017

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

Preview Lab → · Contrast checker → · Palette generator →

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