#229A1F#229A1F

#229A1F is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.187 H 142.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#229A1F
RGBrgb(34, 154, 31)
HSLhsl(119, 66%, 36%)
HSVhsv(119, 80%, 60%)
CMYKcmyk(77.9%, 0%, 79.9%, 39.6%)
CIE-LABlab(55.63, -54.75, 51.01)
CIE-LCHlch(55.63, 74.84, 137.02°)
OKLaboklab(59.96% -0.1487 0.1139)
OKLCHoklch(59.96% 0.187 142.6)
XYZxyz(12.4618, 23.5488, 5.1847)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A1F #971F9A
analogous
#609A1F #229A1F #1F9A5A
triadic
#229A1F #1F229A #9A1F22
tetradic
#229A1F #1F609A #971F9A #9A5A1F
square
#229A1F #1F609A #971F9A #9A5A1F
split-complementary
#229A1F #5A1F9A #9A1F60
monochromatic
#0C340A #176715 #229A1F #2DCD29 #5ADD56

Accessibility & contrast

On white

3.68
#229A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#229A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A1F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A1F#FFFFFF#000000##000000
##229A1F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #229a1f;
/* rgb */ color: rgb(34, 154, 31);
/* oklch */ color: oklch(60.0% 0.187 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b965',
    500: '#229a1f',
    950: '#000000',
  },
}
SCSS
$custom: #229a1f;
$custom-light: #73b965;
$custom-dark: #000000;
JSON
{
  "hex": "#229a1f",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 118.537,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.18736,
    "h": 142.6
  },
  "luminance": 0.2355
}

Semantic roles & 50–950 ramp

primary
#229A1F
secondary
#BE54C1
accent
#3EE9E5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#229A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva