#228134#228134

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

Color values

HEX#228134
RGBrgb(34, 129, 52)
HSLhsl(131, 58%, 32%)
HSVhsv(131, 74%, 51%)
CMYKcmyk(73.6%, 0%, 59.7%, 49.4%)
CIE-LABlab(47.35, -44.08, 33.49)
CIE-LCHlch(47.35, 55.36, 142.77°)
OKLaboklab(53.14% -0.1189 0.0794)
OKLCHoklch(53.14% 0.143 146.2)
XYZxyz(9.1291, 16.2875, 5.9108)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228134 #81226F
analogous
#408122 #228134 #228163
triadic
#228134 #342281 #813422
tetradic
#228134 #224081 #81226F #816322
square
#228134 #224081 #81226F #816322
split-complementary
#228134 #632281 #812240
monochromatic
#08200D #155120 #228134 #2FB148 #4DD066

Accessibility & contrast

On white

4.93
#228134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#228134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228134
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228134#FFFFFF#000000##FFFFFF
##2281341.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#786D3A
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228134;
/* rgb */ color: rgb(34, 129, 52);
/* oklch */ color: oklch(53.1% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ca66e',
    500: '#228134',
    950: '#000000',
  },
}
SCSS
$custom: #228134;
$custom-light: #6ca66e;
$custom-dark: #000000;
JSON
{
  "hex": "#228134",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 131.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.14295,
    "h": 146.2
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#228134
secondary
#B34BA0
accent
#46C4E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228134

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

Preview Lab → · Contrast checker → · Palette generator →

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