#127212#127212

#127212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.153 H 142.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#127212
RGBrgb(18, 114, 18)
HSLhsl(120, 73%, 26%)
HSVhsv(120, 84%, 45%)
CMYKcmyk(84.2%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.54, -44.87, 41.67)
CIE-LCHlch(41.54, 61.24, 137.11°)
OKLaboklab(48.14% -0.1218 0.0927)
OKLCHoklch(48.14% 0.153 142.7)
XYZxyz(6.3755, 12.2061, 2.5922)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127212 #721272
analogous
#427212 #127212 #127242
triadic
#127212 #121272 #721212
tetradic
#127212 #124272 #721272 #724212
square
#127212 #124272 #721272 #724212
split-complementary
#127212 #421272 #721242
monochromatic
#041A04 #0A3D0A #127212 #1AA71A #23DC23

Accessibility & contrast

On white

6.10
#127212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#127212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127212
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127212#FFFFFF#000000##FFFFFF
##1272121.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127212;
/* rgb */ color: rgb(18, 114, 18);
/* oklch */ color: oklch(48.1% 0.153 142.7);
Tailwind
colors: {
  custom: {
    50: '#659c59',
    500: '#127212',
    950: '#000000',
  },
}
SCSS
$custom: #127212;
$custom-light: #659c59;
$custom-dark: #000000;
JSON
{
  "hex": "#127212",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.15302,
    "h": 142.7
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#127212
secondary
#A937A9
accent
#38EFEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127212

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

Preview Lab → · Contrast checker → · Palette generator →

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