#228631#228631

#228631 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.152 H 145.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#228631
RGBrgb(34, 134, 49)
HSLhsl(129, 60%, 33%)
HSVhsv(129, 75%, 53%)
CMYKcmyk(74.6%, 0%, 63.4%, 47.5%)
CIE-LABlab(49.02, -46.29, 36.89)
CIE-LCHlch(49.02, 59.20, 141.45°)
OKLaboklab(54.52% -0.125 0.0865)
OKLCHoklch(54.52% 0.152 145.3)
XYZxyz(9.7385, 17.6109, 5.7911)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228631 #862277
analogous
#458622 #228631 #228663
triadic
#228631 #312286 #863122
tetradic
#228631 #224586 #862277 #866322
square
#228631 #224586 #862277 #866322
split-complementary
#228631 #632286 #862245
monochromatic
#09240D #16551F #228631 #2EB743 #50D363

Accessibility & contrast

On white

4.64
#228631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#228631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228631
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228631#FFFFFF#000000##FFFFFF
##2286311.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7D7138
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228631;
/* rgb */ color: rgb(34, 134, 49);
/* oklch */ color: oklch(54.5% 0.152 145.3);
Tailwind
colors: {
  custom: {
    50: '#6daa6c',
    500: '#228631',
    950: '#000000',
  },
}
SCSS
$custom: #228631;
$custom-light: #6daa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228631",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 129,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.15197,
    "h": 145.3
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#228631
secondary
#B64EA6
accent
#45CBE3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228631

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

Preview Lab → · Contrast checker → · Palette generator →

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