#22570F#22570F

#22570F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.116 H 139.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#22570F
RGBrgb(34, 87, 15)
HSLhsl(104, 71%, 20%)
HSVhsv(104, 83%, 34%)
CMYKcmyk(60.9%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.24, -31.80, 33.97)
CIE-LCHlch(32.24, 46.53, 133.11°)
OKLaboklab(40.53% -0.0876 0.076)
OKLCHoklch(40.53% 0.116 139.1)
XYZxyz(4.1539, 7.1906, 1.6209)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22570F #440F57
analogous
#46570F #22570F #0F5720
triadic
#22570F #0F2257 #570F22
tetradic
#22570F #0F4657 #440F57 #57200F
square
#22570F #0F4657 #440F57 #57200F
split-complementary
#22570F #200F57 #570F46
monochromatic
#0A1A05 #0E2306 #22570F #368B18 #4BBF21

Accessibility & contrast

On white

8.61
#22570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#22570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22570F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22570F#FFFFFF#000000##FFFFFF
##22570F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#1C5449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22570f;
/* rgb */ color: rgb(34, 87, 15);
/* oklch */ color: oklch(40.5% 0.116 139.1);
Tailwind
colors: {
  custom: {
    50: '#648754',
    500: '#22570f',
    950: '#000000',
  },
}
SCSS
$custom: #22570f;
$custom-light: #648754;
$custom-dark: #000000;
JSON
{
  "hex": "#22570f",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 104.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.11595,
    "h": 139.1
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#22570F
secondary
#783191
accent
#3AEDBE
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #22570F

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

Preview Lab → · Contrast checker → · Palette generator →

#22570F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva