#127312#127312

#127312 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.154 H 142.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#127312
RGBrgb(18, 115, 18)
HSLhsl(120, 73%, 26%)
HSVhsv(120, 84%, 45%)
CMYKcmyk(84.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(41.90, -45.20, 42.01)
CIE-LCHlch(41.90, 61.70, 137.10°)
OKLaboklab(48.44% -0.1227 0.0934)
OKLCHoklch(48.44% 0.154 142.7)
XYZxyz(6.4890, 12.4329, 2.6300)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127312 #731273
analogous
#427312 #127312 #127342
triadic
#127312 #121273 #731212
tetradic
#127312 #124273 #731273 #734212
square
#127312 #124273 #731273 #734212
split-complementary
#127312 #421273 #731242
monochromatic
#041A04 #0A3E0A #127312 #1AA81A #23DD23

Accessibility & contrast

On white

6.02
#127312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#127312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127312
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127312#FFFFFF#000000##FFFFFF
##1273121.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127312;
/* rgb */ color: rgb(18, 115, 18);
/* oklch */ color: oklch(48.4% 0.154 142.7);
Tailwind
colors: {
  custom: {
    50: '#659c59',
    500: '#127312',
    950: '#000000',
  },
}
SCSS
$custom: #127312;
$custom-light: #659c59;
$custom-dark: #000000;
JSON
{
  "hex": "#127312",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.15416,
    "h": 142.7
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127312

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

Preview Lab → · Contrast checker → · Palette generator →

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