#22512E#22512E

#22512E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.078 H 149.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#22512E
RGBrgb(34, 81, 46)
HSLhsl(135, 41%, 23%)
HSVhsv(135, 58%, 32%)
CMYKcmyk(58%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.45, -24.94, 15.85)
CIE-LCHlch(30.45, 29.55, 147.56°)
OKLaboklab(39.19% -0.0676 0.0394)
OKLCHoklch(39.19% 0.078 149.8)
XYZxyz(4.0950, 6.4219, 3.6080)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22512E #512245
analogous
#2D5122 #22512E #225145
triadic
#22512E #2E2251 #512E22
tetradic
#22512E #222D51 #512245 #514522
square
#22512E #222D51 #512245 #514522
split-complementary
#22512E #452251 #51222D
monochromatic
#09160C #102616 #22512E #347C46 #46A75F

Accessibility & contrast

On white

9.19
#22512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#22512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22512E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22512E#FFFFFF#000000##FFFFFF
##22512E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A2C
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#185048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22512e;
/* rgb */ color: rgb(34, 81, 46);
/* oklch */ color: oklch(39.2% 0.078 149.8);
Tailwind
colors: {
  custom: {
    50: '#618267',
    500: '#22512e',
    950: '#000000',
  },
}
SCSS
$custom: #22512e;
$custom-light: #618267;
$custom-dark: #000000;
JSON
{
  "hex": "#22512e",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 135.319,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.07827,
    "h": 149.8
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#22512E
secondary
#854A76
accent
#57B2D1
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #22512E

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

Preview Lab → · Contrast checker → · Palette generator →

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