#127222#127222

#127222 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.143 H 145.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#127222
RGBrgb(18, 114, 34)
HSLhsl(130, 73%, 26%)
HSVhsv(130, 84%, 45%)
CMYKcmyk(84.2%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.65, -43.47, 35.59)
CIE-LCHlch(41.65, 56.18, 140.69°)
OKLaboklab(48.27% -0.1172 0.0821)
OKLCHoklch(48.27% 0.143 145)
XYZxyz(6.5550, 12.2779, 3.5375)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127222 #721262
analogous
#327212 #127222 #127252
triadic
#127222 #221272 #722212
tetradic
#127222 #123272 #721262 #725212
square
#127222 #123272 #721262 #725212
split-complementary
#127222 #521272 #721232
monochromatic
#041A08 #0A3D12 #127222 #1AA732 #23DC42

Accessibility & contrast

On white

6.08
#127222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#127222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127222
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127222#FFFFFF#000000##FFFFFF
##1272221.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6A5F29
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127222;
/* rgb */ color: rgb(18, 114, 34);
/* oklch */ color: oklch(48.3% 0.143 145.0);
Tailwind
colors: {
  custom: {
    50: '#649c61',
    500: '#127222',
    950: '#000000',
  },
}
SCSS
$custom: #127222;
$custom-light: #649c61;
$custom-dark: #000000;
JSON
{
  "hex": "#127222",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 130,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.14315,
    "h": 145
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#127222
secondary
#A93796
accent
#38D1EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127222

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

Preview Lab → · Contrast checker → · Palette generator →

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