#127412#127412

#127412 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.7% C 0.155 H 142.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#127412
RGBrgb(18, 116, 18)
HSLhsl(120, 73%, 26%)
HSVhsv(120, 84%, 45%)
CMYKcmyk(84.5%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.25, -45.53, 42.34)
CIE-LCHlch(42.25, 62.17, 137.08°)
OKLaboklab(48.73% -0.1236 0.0941)
OKLCHoklch(48.73% 0.155 142.7)
XYZxyz(6.6036, 12.6622, 2.6682)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127412 #741274
analogous
#437412 #127412 #127443
triadic
#127412 #121274 #741212
tetradic
#127412 #124374 #741274 #744312
square
#127412 #124374 #741274 #744312
split-complementary
#127412 #431274 #741243
monochromatic
#041A04 #0A3F0A #127412 #1AA91A #23DD23

Accessibility & contrast

On white

5.94
#127412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#127412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127412
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127412#FFFFFF#000000##FFFFFF
##1274121.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127412;
/* rgb */ color: rgb(18, 116, 18);
/* oklch */ color: oklch(48.7% 0.155 142.7);
Tailwind
colors: {
  custom: {
    50: '#659d5a',
    500: '#127412',
    950: '#000000',
  },
}
SCSS
$custom: #127412;
$custom-light: #659d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127412",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.15529,
    "h": 142.7
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127412

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

Preview Lab → · Contrast checker → · Palette generator →

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