#228231#228231

#228231 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 145.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228231
RGBrgb(34, 130, 49)
HSLhsl(129, 59%, 32%)
HSVhsv(129, 74%, 51%)
CMYKcmyk(73.8%, 0%, 62.3%, 49%)
CIE-LABlab(47.66, -44.84, 35.33)
CIE-LCHlch(47.66, 57.09, 141.77°)
OKLaboklab(53.39% -0.121 0.0831)
OKLCHoklch(53.39% 0.147 145.5)
XYZxyz(9.1961, 16.5261, 5.6103)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228231 #822273
analogous
#438222 #228231 #228261
triadic
#228231 #312282 #823122
tetradic
#228231 #224382 #822273 #826122
square
#228231 #224382 #822273 #826122
split-complementary
#228231 #612282 #822243
monochromatic
#09210C #15511F #228231 #2FB343 #4ED162

Accessibility & contrast

On white

4.88
#228231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#228231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228231
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228231#FFFFFF#000000##FFFFFF
##2282311.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228231;
/* rgb */ color: rgb(34, 130, 49);
/* oklch */ color: oklch(53.4% 0.147 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ca76c',
    500: '#228231',
    950: '#000000',
  },
}
SCSS
$custom: #228231;
$custom-light: #6ca76c;
$custom-dark: #000000;
JSON
{
  "hex": "#228231",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 129.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.14685,
    "h": 145.5
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#228231
secondary
#B44CA4
accent
#46C9E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228231

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

Preview Lab → · Contrast checker → · Palette generator →

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