#228627#228627

#228627 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.160 H 143.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228627
RGBrgb(34, 134, 39)
HSLhsl(123, 60%, 33%)
HSVhsv(123, 75%, 53%)
CMYKcmyk(74.6%, 0%, 70.9%, 47.5%)
CIE-LABlab(48.93, -47.41, 41.29)
CIE-LCHlch(48.93, 62.87, 138.95°)
OKLaboklab(54.41% -0.1285 0.0947)
OKLCHoklch(54.41% 0.16 143.6)
XYZxyz(9.5504, 17.5357, 4.8005)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228627 #862281
analogous
#4F8622 #228627 #228659
triadic
#228627 #272286 #862722
tetradic
#228627 #224F86 #862281 #865922
square
#228627 #224F86 #862281 #865922
split-complementary
#228627 #592286 #86224F
monochromatic
#09240B #165519 #228627 #2EB735 #50D356

Accessibility & contrast

On white

4.66
#228627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#228627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228627
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228627#FFFFFF#000000##FFFFFF
##2286271.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897919
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228627;
/* rgb */ color: rgb(34, 134, 39);
/* oklch */ color: oklch(54.4% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa66',
    500: '#228627',
    950: '#000000',
  },
}
SCSS
$custom: #228627;
$custom-light: #6eaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#228627",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 123,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15959,
    "h": 143.6
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#228627
secondary
#B64EB1
accent
#45DBE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228627

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

Preview Lab → · Contrast checker → · Palette generator →

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