#228931#228931

#228931 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.156 H 145.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#228931
RGBrgb(34, 137, 49)
HSLhsl(129, 60%, 34%)
HSVhsv(129, 75%, 54%)
CMYKcmyk(75.2%, 0%, 64.2%, 46.3%)
CIE-LABlab(50.04, -47.37, 38.05)
CIE-LCHlch(50.04, 60.75, 141.23°)
OKLaboklab(55.36% -0.1279 0.089)
OKLCHoklch(55.36% 0.156 145.2)
XYZxyz(10.1590, 18.4520, 5.9313)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228931 #89227A
analogous
#468922 #228931 #228964
triadic
#228931 #312289 #893122
tetradic
#228931 #224689 #89227A #896422
square
#228931 #224689 #89227A #896422
split-complementary
#228931 #642289 #892246
monochromatic
#0A270E #16581F #228931 #2EBA43 #51D464

Accessibility & contrast

On white

4.48
#228931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#228931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228931
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228931#FFFFFF#000000##000000
##2289311.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228931;
/* rgb */ color: rgb(34, 137, 49);
/* oklch */ color: oklch(55.4% 0.156 145.2);
Tailwind
colors: {
  custom: {
    50: '#6eac6d',
    500: '#228931',
    950: '#000000',
  },
}
SCSS
$custom: #228931;
$custom-light: #6eac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#228931",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 49
  },
  "hsl": {
    "h": 128.738,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.15577,
    "h": 145.2
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#228931
secondary
#B84FA8
accent
#44CCE3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228931

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

Preview Lab → · Contrast checker → · Palette generator →

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