#22502F#22502F

#22502F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.075 H 150.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#22502F
RGBrgb(34, 80, 47)
HSLhsl(137, 40%, 22%)
HSVhsv(137, 58%, 31%)
CMYKcmyk(57.5%, 0%, 41.3%, 68.6%)
CIE-LABlab(30.11, -24.25, 14.79)
CIE-LCHlch(30.11, 28.41, 148.62°)
OKLaboklab(38.92% -0.0658 0.0369)
OKLCHoklch(38.92% 0.075 150.7)
XYZxyz(4.0412, 6.2823, 3.6884)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22502F #502243
analogous
#2C5022 #22502F #225046
triadic
#22502F #2F2250 #502F22
tetradic
#22502F #222C50 #502243 #504622
square
#22502F #222C50 #502243 #504622
split-complementary
#22502F #462250 #50222C
monochromatic
#09150D #102516 #22502F #347B48 #47A661

Accessibility & contrast

On white

9.31
#22502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#22502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22502F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22502F#FFFFFF#000000##FFFFFF
##22502F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#174F48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22502f;
/* rgb */ color: rgb(34, 80, 47);
/* oklch */ color: oklch(38.9% 0.075 150.7);
Tailwind
colors: {
  custom: {
    50: '#618168',
    500: '#22502f',
    950: '#000000',
  },
}
SCSS
$custom: #22502f;
$custom-light: #618168;
$custom-dark: #000000;
JSON
{
  "hex": "#22502f",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 136.957,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.07546,
    "h": 150.7
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#22502F
secondary
#844A74
accent
#58AED0
background
#F5F7F6
surface
#EAEEEB
border
#C6C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #22502F

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

Preview Lab → · Contrast checker → · Palette generator →

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