#22540E#22540E

#22540E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.113 H 138.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#22540E
RGBrgb(34, 84, 14)
HSLhsl(103, 71%, 19%)
HSVhsv(103, 83%, 33%)
CMYKcmyk(59.5%, 0%, 83.3%, 67.1%)
CIE-LABlab(31.14, -30.61, 33.28)
CIE-LCHlch(31.14, 45.22, 132.60°)
OKLaboklab(39.63% -0.0845 0.0744)
OKLCHoklch(39.63% 0.113 138.6)
XYZxyz(3.9091, 6.7121, 1.5050)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22540E #400E54
analogous
#45540E #22540E #0E541D
triadic
#22540E #0E2254 #540E22
tetradic
#22540E #0E4554 #400E54 #541D0E
square
#22540E #0E4554 #400E54 #541D0E
split-complementary
#22540E #1D0E54 #540E45
monochromatic
#0B1A04 #0D2005 #22540E #378817 #4CBD1F

Accessibility & contrast

On white

8.97
#22540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#22540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22540E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22540E#FFFFFF#000000##FFFFFF
##22540E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#1D5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22540e;
/* rgb */ color: rgb(34, 84, 14);
/* oklch */ color: oklch(39.6% 0.113 138.6);
Tailwind
colors: {
  custom: {
    50: '#648553',
    500: '#22540e',
    950: '#000000',
  },
}
SCSS
$custom: #22540e;
$custom-light: #648553;
$custom-dark: #000000;
JSON
{
  "hex": "#22540e",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 102.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.11255,
    "h": 138.6
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#22540E
secondary
#732F8E
accent
#3AEEBB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #22540E

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

Preview Lab → · Contrast checker → · Palette generator →

#22540E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva