#22540F#22540F

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

Color values

HEX#22540F
RGBrgb(34, 84, 15)
HSLhsl(103, 70%, 19%)
HSVhsv(103, 82%, 33%)
CMYKcmyk(59.5%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.15, -30.53, 32.91)
CIE-LCHlch(31.15, 44.89, 132.86°)
OKLaboklab(39.63% -0.0842 0.0738)
OKLCHoklch(39.63% 0.112 138.8)
XYZxyz(3.9161, 6.7149, 1.5416)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22540F #410F54
analogous
#45540F #22540F #0F541F
triadic
#22540F #0F2254 #540F22
tetradic
#22540F #0F4554 #410F54 #541F0F
square
#22540F #0F4554 #410F54 #541F0F
split-complementary
#22540F #1F0F54 #540F45
monochromatic
#0B1A05 #0D2006 #22540F #378818 #4CBC22

Accessibility & contrast

On white

8.96
#22540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22540F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22540F#FFFFFF#000000##FFFFFF
##22540F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22540f;
/* rgb */ color: rgb(34, 84, 15);
/* oklch */ color: oklch(39.6% 0.112 138.8);
Tailwind
colors: {
  custom: {
    50: '#648553',
    500: '#22540f',
    950: '#000000',
  },
}
SCSS
$custom: #22540f;
$custom-light: #648553;
$custom-dark: #000000;
JSON
{
  "hex": "#22540f",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 103.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.11194,
    "h": 138.8
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#22540F
secondary
#74318E
accent
#3BEDBC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #22540F

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

Preview Lab → · Contrast checker → · Palette generator →

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