#225412#225412

#225412 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.110 H 139.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#225412
RGBrgb(34, 84, 18)
HSLhsl(105, 65%, 20%)
HSVhsv(105, 79%, 33%)
CMYKcmyk(59.5%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.17, -30.29, 31.71)
CIE-LCHlch(31.17, 43.85, 133.69°)
OKLaboklab(39.66% -0.0833 0.0717)
OKLCHoklch(39.66% 0.11 139.3)
XYZxyz(3.9390, 6.7241, 1.6625)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225412 #441254
analogous
#435412 #225412 #125423
triadic
#225412 #122254 #541222
tetradic
#225412 #124354 #441254 #542312
square
#225412 #124354 #441254 #542312
split-complementary
#225412 #231254 #541243
monochromatic
#0A1905 #0E2207 #225412 #36861D #4BB928

Accessibility & contrast

On white

8.96
#225412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#225412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##225412#FFFFFF#000000##FFFFFF
##2254121.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)
#574C07
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#1D5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225412;
/* rgb */ color: rgb(34, 84, 18);
/* oklch */ color: oklch(39.7% 0.110 139.3);
Tailwind
colors: {
  custom: {
    50: '#648555',
    500: '#225412',
    950: '#000000',
  },
}
SCSS
$custom: #225412;
$custom-light: #648555;
$custom-dark: #000000;
JSON
{
  "hex": "#225412",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 105.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.10997,
    "h": 139.3
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#225412
secondary
#78358D
accent
#40E8BF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225412

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

Preview Lab → · Contrast checker → · Palette generator →

#225412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva