#228234#228234

#228234 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.144 H 146.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228234
RGBrgb(34, 130, 52)
HSLhsl(131, 59%, 32%)
HSVhsv(131, 74%, 51%)
CMYKcmyk(73.8%, 0%, 60%, 49%)
CIE-LABlab(47.69, -44.45, 33.90)
CIE-LCHlch(47.69, 55.90, 142.67°)
OKLaboklab(53.43% -0.1199 0.0803)
OKLCHoklch(53.43% 0.144 146.2)
XYZxyz(9.2615, 16.5522, 5.9550)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228234 #822270
analogous
#408222 #228234 #228264
triadic
#228234 #342282 #823422
tetradic
#228234 #224082 #822270 #826422
square
#228234 #224082 #822270 #826422
split-complementary
#228234 #642282 #822240
monochromatic
#09210D #155121 #228234 #2FB347 #4ED166

Accessibility & contrast

On white

4.87
#228234 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228234
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228234#FFFFFF#000000##FFFFFF
##2282341.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228234;
/* rgb */ color: rgb(34, 130, 52);
/* oklch */ color: oklch(53.4% 0.144 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ca76e',
    500: '#228234',
    950: '#000000',
  },
}
SCSS
$custom: #228234;
$custom-light: #6ca76e;
$custom-dark: #000000;
JSON
{
  "hex": "#228234",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 52
  },
  "hsl": {
    "h": 131.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.14427,
    "h": 146.2
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#228234
secondary
#B44CA0
accent
#46C5E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228234

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

Preview Lab → · Contrast checker → · Palette generator →

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