#22931F#22931F

#22931F is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.180 H 142.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#22931F
RGBrgb(34, 147, 31)
HSLhsl(118, 65%, 35%)
HSVhsv(118, 79%, 58%)
CMYKcmyk(76.9%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.28, -52.48, 48.75)
CIE-LCHlch(53.28, 71.63, 137.11°)
OKLaboklab(58.01% -0.1426 0.1092)
OKLCHoklch(58.01% 0.18 142.6)
XYZxyz(11.3400, 21.3051, 4.8107)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22931F #901F93
analogous
#5C931F #22931F #1F9356
triadic
#22931F #1F2293 #931F22
tetradic
#22931F #1F5C93 #901F93 #93561F
square
#22931F #1F5C93 #901F93 #93561F
split-complementary
#22931F #561F93 #931F5C
monochromatic
#0B2E0A #166014 #22931F #2EC62A #55DA52

Accessibility & contrast

On white

3.99
#22931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#22931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22931F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22931F#FFFFFF#000000##000000
##22931F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #22931f;
/* rgb */ color: rgb(34, 147, 31);
/* oklch */ color: oklch(58.0% 0.180 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b464',
    500: '#22931f',
    950: '#000000',
  },
}
SCSS
$custom: #22931f;
$custom-light: #72b464;
$custom-dark: #000000;
JSON
{
  "hex": "#22931f",
  "rgb": {
    "r": 34,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 118.448,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.1796,
    "h": 142.6
  },
  "luminance": 0.21306
}

Semantic roles & 50–950 ramp

primary
#22931F
secondary
#BB50BE
accent
#40E8E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22931F

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

Preview Lab → · Contrast checker → · Palette generator →

#22931F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva