#12701E#12701E

#12701E is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.144 H 144.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#12701E
RGBrgb(18, 112, 30)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 84%, 44%)
CMYKcmyk(83.9%, 0%, 73.2%, 56.1%)
CIE-LABlab(40.91, -43.20, 36.55)
CIE-LCHlch(40.91, 56.59, 139.76°)
OKLaboklab(47.64% -0.1167 0.0837)
OKLCHoklch(47.64% 0.144 144.4)
XYZxyz(6.2775, 11.8099, 3.1767)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701E #701264
analogous
#357012 #12701E #12704D
triadic
#12701E #1E1270 #701E12
tetradic
#12701E #123570 #701264 #704D12
square
#12701E #123570 #701264 #704D12
split-complementary
#12701E #4D1270 #701235
monochromatic
#041A07 #0A3B10 #12701E #1AA52C #23D93A

Accessibility & contrast

On white

6.25
#12701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#12701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12701E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12701E#FFFFFF#000000##FFFFFF
##12701E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #12701e;
/* rgb */ color: rgb(18, 112, 30);
/* oklch */ color: oklch(47.6% 0.144 144.4);
Tailwind
colors: {
  custom: {
    50: '#649a5f',
    500: '#12701e',
    950: '#000000',
  },
}
SCSS
$custom: #12701e;
$custom-light: #649a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12701e",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 127.66,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.1436,
    "h": 144.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#12701E
secondary
#A73799
accent
#39D8EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12701E

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

Preview Lab → · Contrast checker → · Palette generator →

#12701E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva