#228034#228034

#228034 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.142 H 146.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228034
RGBrgb(34, 128, 52)
HSLhsl(131, 58%, 32%)
HSVhsv(131, 73%, 50%)
CMYKcmyk(73.4%, 0%, 59.4%, 49.8%)
CIE-LABlab(47.01, -43.70, 33.09)
CIE-LCHlch(47.01, 54.82, 142.87°)
OKLaboklab(52.86% -0.1178 0.0786)
OKLCHoklch(52.86% 0.142 146.3)
XYZxyz(8.9981, 16.0254, 5.8671)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228034 #80226E
analogous
#3F8022 #228034 #228063
triadic
#228034 #342280 #803422
tetradic
#228034 #223F80 #80226E #806322
square
#228034 #223F80 #80226E #806322
split-complementary
#228034 #632280 #80223F
monochromatic
#081F0D #155020 #228034 #2FB048 #4DD066

Accessibility & contrast

On white

4.99
#228034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#228034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228034
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228034#FFFFFF#000000##FFFFFF
##2280341.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742C
Deuteranopia (green-blind)
#776C3A
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228034;
/* rgb */ color: rgb(34, 128, 52);
/* oklch */ color: oklch(52.9% 0.142 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ca66e',
    500: '#228034',
    950: '#000000',
  },
}
SCSS
$custom: #228034;
$custom-light: #6ca66e;
$custom-dark: #000000;
JSON
{
  "hex": "#228034",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 131.489,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.14163,
    "h": 146.3
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#228034
secondary
#B24B9F
accent
#47C4E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228034

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

Preview Lab → · Contrast checker → · Palette generator →

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