#228127#228127

#228127 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.153 H 143.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228127
RGBrgb(34, 129, 39)
HSLhsl(123, 58%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(73.6%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.22, -45.65, 39.46)
CIE-LCHlch(47.22, 60.34, 139.16°)
OKLaboklab(52.99% -0.1237 0.0909)
OKLCHoklch(52.99% 0.153 143.7)
XYZxyz(8.8756, 16.1861, 4.5755)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228127 #81227C
analogous
#4D8122 #228127 #228157
triadic
#228127 #272281 #812722
tetradic
#228127 #224D81 #81227C #815722
square
#228127 #224D81 #81227C #815722
split-complementary
#228127 #572281 #81224D
monochromatic
#08200A #155118 #228127 #2FB136 #4DD054

Accessibility & contrast

On white

4.96
#228127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#228127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228127
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228127#FFFFFF#000000##FFFFFF
##2281271.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228127;
/* rgb */ color: rgb(34, 129, 39);
/* oklch */ color: oklch(53.0% 0.153 143.7);
Tailwind
colors: {
  custom: {
    50: '#6da766',
    500: '#228127',
    950: '#000000',
  },
}
SCSS
$custom: #228127;
$custom-light: #6da766;
$custom-dark: #000000;
JSON
{
  "hex": "#228127",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 123.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.15346,
    "h": 143.7
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#228127
secondary
#B34BAE
accent
#46D9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228127

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

Preview Lab → · Contrast checker → · Palette generator →

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