#228150#228150

#228150 is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.6% C 0.116 H 155.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228150
RGBrgb(34, 129, 80)
HSLhsl(149, 58%, 32%)
HSVhsv(149, 74%, 51%)
CMYKcmyk(73.6%, 0%, 38%, 49.4%)
CIE-LABlab(47.78, -39.19, 18.92)
CIE-LCHlch(47.78, 43.52, 154.24°)
OKLaboklab(53.63% -0.106 0.0474)
OKLCHoklch(53.63% 0.116 155.9)
XYZxyz(9.9570, 16.6186, 10.2708)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228150 #812253
analogous
#238122 #228150 #228180
triadic
#228150 #502281 #815022
tetradic
#228150 #222381 #812253 #818022
square
#228150 #222381 #812253 #818022
split-complementary
#228150 #802281 #812223
monochromatic
#082014 #155132 #228150 #2FB16E #4DD08D

Accessibility & contrast

On white

4.86
#228150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#228150 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228150
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228150#FFFFFF#000000##FFFFFF
##2281501.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764D
Deuteranopia (green-blind)
#756E53
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228150;
/* rgb */ color: rgb(34, 129, 80);
/* oklch */ color: oklch(53.6% 0.116 155.9);
Tailwind
colors: {
  custom: {
    50: '#6ba681',
    500: '#228150',
    950: '#000000',
  },
}
SCSS
$custom: #228150;
$custom-light: #6ba681;
$custom-dark: #000000;
JSON
{
  "hex": "#228150",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 80
  },
  "hsl": {
    "h": 149.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.11611,
    "h": 155.9
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#228150
secondary
#B34B81
accent
#4696E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #228150

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

Preview Lab → · Contrast checker → · Palette generator →

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