#127612#127612

#127612 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.158 H 142.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#127612
RGBrgb(18, 118, 18)
HSLhsl(120, 74%, 27%)
HSVhsv(120, 85%, 46%)
CMYKcmyk(84.7%, 0%, 84.7%, 53.7%)
CIE-LABlab(42.96, -46.18, 43.00)
CIE-LCHlch(42.96, 63.10, 137.04°)
OKLaboklab(49.32% -0.1253 0.0954)
OKLCHoklch(49.32% 0.158 142.7)
XYZxyz(6.8366, 13.1283, 2.7459)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127612 #761276
analogous
#447612 #127612 #127644
triadic
#127612 #121276 #761212
tetradic
#127612 #124476 #761276 #764412
square
#127612 #124476 #761276 #764412
split-complementary
#127612 #441276 #761244
monochromatic
#041B04 #0A410A #127612 #1AAB1A #25DE25

Accessibility & contrast

On white

5.79
#127612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#127612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127612
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127612#FFFFFF#000000##FFFFFF
##1276121.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127612;
/* rgb */ color: rgb(18, 118, 18);
/* oklch */ color: oklch(49.3% 0.158 142.7);
Tailwind
colors: {
  custom: {
    50: '#669f5a',
    500: '#127612',
    950: '#000000',
  },
}
SCSS
$custom: #127612;
$custom-light: #669f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127612",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.15753,
    "h": 142.7
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#127612
secondary
#AD37AD
accent
#38F0F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127612

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

Preview Lab → · Contrast checker → · Palette generator →

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