#22542E#22542E

#22542E is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.083 H 149.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#22542E
RGBrgb(34, 84, 46)
HSLhsl(134, 42%, 23%)
HSVhsv(134, 60%, 33%)
CMYKcmyk(59.5%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.53, -26.38, 17.26)
CIE-LCHlch(31.53, 31.52, 146.81°)
OKLaboklab(40.07% -0.0715 0.0427)
OKLCHoklch(40.07% 0.083 149.2)
XYZxyz(4.3229, 6.8776, 3.6839)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22542E #542248
analogous
#2F5422 #22542E #225447
triadic
#22542E #2E2254 #542E22
tetradic
#22542E #222F54 #542248 #544722
square
#22542E #222F54 #542248 #544722
split-complementary
#22542E #472254 #54222F
monochromatic
#09160C #102816 #22542E #348046 #45AB5E

Accessibility & contrast

On white

8.84
#22542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#22542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22542E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22542E#FFFFFF#000000##FFFFFF
##22542E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#17524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22542e;
/* rgb */ color: rgb(34, 84, 46);
/* oklch */ color: oklch(40.1% 0.083 149.2);
Tailwind
colors: {
  custom: {
    50: '#628467',
    500: '#22542e',
    950: '#000000',
  },
}
SCSS
$custom: #22542e;
$custom-light: #628467;
$custom-dark: #000000;
JSON
{
  "hex": "#22542e",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 134.4,
    "s": 42.373,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40067,
    "c": 0.08323,
    "h": 149.2
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#22542E
secondary
#884A79
accent
#56B4D2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #22542E

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

Preview Lab → · Contrast checker → · Palette generator →

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