#225315#225315

#225315 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.106 H 139.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#225315
RGBrgb(34, 83, 21)
HSLhsl(107, 60%, 20%)
HSVhsv(107, 75%, 33%)
CMYKcmyk(59%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.83, -29.58, 30.04)
CIE-LCHlch(30.83, 42.16, 134.56°)
OKLaboklab(39.39% -0.0812 0.0687)
OKLCHoklch(39.39% 0.106 139.8)
XYZxyz(3.8881, 6.5804, 1.7746)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225315 #461553
analogous
#415315 #225315 #155327
triadic
#225315 #152253 #531522
tetradic
#225315 #154153 #461553 #532715
square
#225315 #154153 #461553 #532715
split-complementary
#225315 #271553 #531541
monochromatic
#0A1806 #0E2209 #225315 #368421 #4AB52E

Accessibility & contrast

On white

9.07
#225315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#225315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225315
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225315#FFFFFF#000000##FFFFFF
##2253151.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#1D5047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225315;
/* rgb */ color: rgb(34, 83, 21);
/* oklch */ color: oklch(39.4% 0.106 139.8);
Tailwind
colors: {
  custom: {
    50: '#638456',
    500: '#225315',
    950: '#000000',
  },
}
SCSS
$custom: #225315;
$custom-light: #638456;
$custom-dark: #000000;
JSON
{
  "hex": "#225315",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 107.419,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.10636,
    "h": 139.8
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#225315
secondary
#7A398B
accent
#45E3C2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225315

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

Preview Lab → · Contrast checker → · Palette generator →

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