#127122#127122

#127122 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.142 H 145.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#127122
RGBrgb(18, 113, 34)
HSLhsl(130, 73%, 26%)
HSVhsv(130, 84%, 44%)
CMYKcmyk(84.1%, 0%, 69.9%, 55.7%)
CIE-LABlab(41.30, -43.12, 35.20)
CIE-LCHlch(41.30, 55.66, 140.77°)
OKLaboklab(47.98% -0.1163 0.0813)
OKLCHoklch(47.98% 0.142 145)
XYZxyz(6.4429, 12.0536, 3.5001)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127122 #711261
analogous
#317112 #127122 #127151
triadic
#127122 #221271 #712212
tetradic
#127122 #123171 #711261 #715112
square
#127122 #123171 #711261 #715112
split-complementary
#127122 #511271 #711231
monochromatic
#041A08 #0A3C12 #127122 #1AA632 #23DB42

Accessibility & contrast

On white

6.16
#127122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#127122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127122
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127122#FFFFFF#000000##FFFFFF
##1271221.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #127122;
/* rgb */ color: rgb(18, 113, 34);
/* oklch */ color: oklch(48.0% 0.142 145.0);
Tailwind
colors: {
  custom: {
    50: '#649b61',
    500: '#127122',
    950: '#000000',
  },
}
SCSS
$custom: #127122;
$custom-light: #649b61;
$custom-dark: #000000;
JSON
{
  "hex": "#127122",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 130.105,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.14191,
    "h": 145
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#127122
secondary
#A83795
accent
#39D0EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127122

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

Preview Lab → · Contrast checker → · Palette generator →

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