#228131#228131

#228131 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.146 H 145.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228131
RGBrgb(34, 129, 49)
HSLhsl(129, 58%, 32%)
HSVhsv(129, 74%, 51%)
CMYKcmyk(73.6%, 0%, 62%, 49.4%)
CIE-LABlab(47.32, -44.48, 34.94)
CIE-LCHlch(47.32, 56.56, 141.85°)
OKLaboklab(53.1% -0.12 0.0823)
OKLCHoklch(53.1% 0.146 145.6)
XYZxyz(9.0637, 16.2613, 5.5662)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228131 #812272
analogous
#438122 #228131 #228161
triadic
#228131 #312281 #813122
tetradic
#228131 #224381 #812272 #816122
square
#228131 #224381 #812272 #816122
split-complementary
#228131 #612281 #812243
monochromatic
#08200C #15511F #228131 #2FB143 #4DD062

Accessibility & contrast

On white

4.94
#228131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#228131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228131
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228131#FFFFFF#000000##FFFFFF
##2281311.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228131;
/* rgb */ color: rgb(34, 129, 49);
/* oklch */ color: oklch(53.1% 0.146 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ca76c',
    500: '#228131',
    950: '#000000',
  },
}
SCSS
$custom: #228131;
$custom-light: #6ca76c;
$custom-dark: #000000;
JSON
{
  "hex": "#228131",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 129.474,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.14554,
    "h": 145.6
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#228131
secondary
#B34BA3
accent
#46C9E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228131

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

Preview Lab → · Contrast checker → · Palette generator →

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