#225815#225815

#225815 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.113 H 140.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#225815
RGBrgb(34, 88, 21)
HSLhsl(108, 61%, 21%)
HSVhsv(108, 76%, 35%)
CMYKcmyk(61.4%, 0%, 76.1%, 65.5%)
CIE-LABlab(32.64, -31.72, 31.93)
CIE-LCHlch(32.64, 45.00, 134.81°)
OKLaboklab(40.88% -0.087 0.0726)
OKLCHoklch(40.88% 0.113 140.1)
XYZxyz(4.2846, 7.3733, 1.9067)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225815 #4B1558
analogous
#445815 #225815 #15582A
triadic
#225815 #152258 #581522
tetradic
#225815 #154458 #4B1558 #582A15
square
#225815 #154458 #4B1558 #582A15
split-complementary
#225815 #2A1558 #581544
monochromatic
#0A1906 #0F2709 #225815 #358921 #48BB2D

Accessibility & contrast

On white

8.49
#225815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#225815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225815
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225815#FFFFFF#000000##FFFFFF
##2258151.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#1B554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #225815;
/* rgb */ color: rgb(34, 88, 21);
/* oklch */ color: oklch(40.9% 0.113 140.1);
Tailwind
colors: {
  custom: {
    50: '#648857',
    500: '#225815',
    950: '#000000',
  },
}
SCSS
$custom: #225815;
$custom-light: #648857;
$custom-dark: #000000;
JSON
{
  "hex": "#225815",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 108.358,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.11333,
    "h": 140.1
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#225815
secondary
#7F3990
accent
#43E5C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225815

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

Preview Lab → · Contrast checker → · Palette generator →

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