#225317#225317

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

Color values

HEX#225317
RGBrgb(34, 83, 23)
HSLhsl(109, 57%, 21%)
HSVhsv(109, 72%, 33%)
CMYKcmyk(59%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.85, -29.38, 29.12)
CIE-LCHlch(30.85, 41.36, 135.25°)
OKLaboklab(39.41% -0.0805 0.067)
OKLCHoklch(39.41% 0.105 140.2)
XYZxyz(3.9074, 6.5881, 1.8762)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225317 #481753
analogous
#405317 #225317 #17532A
triadic
#225317 #172253 #531722
tetradic
#225317 #174053 #481753 #532A17
square
#225317 #174053 #481753 #532A17
split-complementary
#225317 #2A1753 #531740
monochromatic
#0A1807 #0E230A #225317 #368324 #49B332

Accessibility & contrast

On white

9.06
#225317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225317
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225317#FFFFFF#000000##FFFFFF
##2253171.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#1C5047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225317;
/* rgb */ color: rgb(34, 83, 23);
/* oklch */ color: oklch(39.4% 0.105 140.2);
Tailwind
colors: {
  custom: {
    50: '#638457',
    500: '#225317',
    950: '#000000',
  },
}
SCSS
$custom: #225317;
$custom-light: #638457;
$custom-dark: #000000;
JSON
{
  "hex": "#225317",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 109,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.10476,
    "h": 140.2
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#225317
secondary
#7C3C8A
accent
#48E0C4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225317

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

Preview Lab → · Contrast checker → · Palette generator →

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