#127512#127512

#127512 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.156 H 142.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#127512
RGBrgb(18, 117, 18)
HSLhsl(120, 73%, 26%)
HSVhsv(120, 85%, 46%)
CMYKcmyk(84.6%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.60, -45.85, 42.67)
CIE-LCHlch(42.60, 62.64, 137.06°)
OKLaboklab(49.03% -0.1244 0.0947)
OKLCHoklch(49.03% 0.156 142.7)
XYZxyz(6.7195, 12.8940, 2.7068)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127512 #751275
analogous
#447512 #127512 #127544
triadic
#127512 #121275 #751212
tetradic
#127512 #124475 #751275 #754412
square
#127512 #124475 #751275 #754412
split-complementary
#127512 #441275 #751244
monochromatic
#041B04 #0A400A #127512 #1AAA1A #24DD24

Accessibility & contrast

On white

5.87
#127512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#127512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127512
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127512#FFFFFF#000000##FFFFFF
##1275121.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127512;
/* rgb */ color: rgb(18, 117, 18);
/* oklch */ color: oklch(49.0% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#669e5a',
    500: '#127512',
    950: '#000000',
  },
}
SCSS
$custom: #127512;
$custom-light: #669e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127512",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.15641,
    "h": 142.7
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127512

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

Preview Lab → · Contrast checker → · Palette generator →

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