#228229#228229

#228229 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.153 H 144.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228229
RGBrgb(34, 130, 41)
HSLhsl(124, 59%, 32%)
HSVhsv(124, 74%, 51%)
CMYKcmyk(73.8%, 0%, 68.5%, 49%)
CIE-LABlab(47.58, -45.79, 38.97)
CIE-LCHlch(47.58, 60.13, 139.60°)
OKLaboklab(53.3% -0.124 0.0901)
OKLCHoklch(53.3% 0.153 144)
XYZxyz(9.0420, 16.4644, 4.7988)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228229 #82227B
analogous
#4B8222 #228229 #228259
triadic
#228229 #292282 #822922
tetradic
#228229 #224B82 #82227B #825922
square
#228229 #224B82 #82227B #825922
split-complementary
#228229 #592282 #82224B
monochromatic
#09210A #15511A #228229 #2FB338 #4ED157

Accessibility & contrast

On white

4.89
#228229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#228229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228229
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228229#FFFFFF#000000##FFFFFF
##2282291.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228229;
/* rgb */ color: rgb(34, 130, 41);
/* oklch */ color: oklch(53.3% 0.153 144.0);
Tailwind
colors: {
  custom: {
    50: '#6da767',
    500: '#228229',
    950: '#000000',
  },
}
SCSS
$custom: #228229;
$custom-light: #6da767;
$custom-dark: #000000;
JSON
{
  "hex": "#228229",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 124.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.15322,
    "h": 144
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#228229
secondary
#B44CAC
accent
#46D6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228229

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

Preview Lab → · Contrast checker → · Palette generator →

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