#228119#228119

#228119 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.162 H 141.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228119
RGBrgb(34, 129, 25)
HSLhsl(115, 68%, 30%)
HSVhsv(115, 81%, 51%)
CMYKcmyk(73.6%, 0%, 80.6%, 49.4%)
CIE-LABlab(47.12, -46.86, 44.80)
CIE-LCHlch(47.12, 64.83, 136.28°)
OKLaboklab(52.88% -0.1277 0.1001)
OKLCHoklch(52.88% 0.162 141.9)
XYZxyz(8.6849, 16.1098, 3.5713)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228119 #781981
analogous
#568119 #228119 #198144
triadic
#228119 #192281 #811922
tetradic
#228119 #195681 #781981 #814419
square
#228119 #195681 #781981 #814419
split-complementary
#228119 #441981 #811956
monochromatic
#071A05 #144E0F #228119 #30B423 #49D93B

Accessibility & contrast

On white

4.97
#228119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#228119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228119
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228119#FFFFFF#000000##FFFFFF
##2281191.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#057D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228119;
/* rgb */ color: rgb(34, 129, 25);
/* oklch */ color: oklch(52.9% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da75f',
    500: '#228119',
    950: '#000000',
  },
}
SCSS
$custom: #228119;
$custom-light: #6da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#228119",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 114.808,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.16223,
    "h": 141.9
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#228119
secondary
#AB41B5
accent
#3DEADB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228119

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

Preview Lab → · Contrast checker → · Palette generator →

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