#127226#127226

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

Color values

HEX#127226
RGBrgb(18, 114, 38)
HSLhsl(133, 73%, 26%)
HSVhsv(133, 84%, 45%)
CMYKcmyk(84.2%, 0%, 66.7%, 55.3%)
CIE-LABlab(41.69, -43.00, 33.77)
CIE-LCHlch(41.69, 54.67, 141.85°)
OKLaboklab(48.32% -0.1158 0.0788)
OKLCHoklch(48.32% 0.14 145.8)
XYZxyz(6.6161, 12.3024, 3.8592)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127226 #72125E
analogous
#2E7212 #127226 #127256
triadic
#127226 #261272 #722612
tetradic
#127226 #122E72 #72125E #725612
square
#127226 #122E72 #72125E #725612
split-complementary
#127226 #561272 #72122E
monochromatic
#041A09 #0A3D14 #127226 #1AA738 #23DC49

Accessibility & contrast

On white

6.07
#127226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127226
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127226#FFFFFF#000000##FFFFFF
##1272261.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#69602D
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127226;
/* rgb */ color: rgb(18, 114, 38);
/* oklch */ color: oklch(48.3% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#649c64',
    500: '#127226',
    950: '#000000',
  },
}
SCSS
$custom: #127226;
$custom-light: #649c64;
$custom-dark: #000000;
JSON
{
  "hex": "#127226",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 132.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.14003,
    "h": 145.8
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#127226
secondary
#A93791
accent
#38C9EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #127226

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

Preview Lab → · Contrast checker → · Palette generator →

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