#12701A#12701A

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

Color values

HEX#12701A
RGBrgb(18, 112, 26)
HSLhsl(125, 72%, 25%)
HSVhsv(125, 84%, 44%)
CMYKcmyk(83.9%, 0%, 76.8%, 56.1%)
CIE-LABlab(40.88, -43.58, 38.18)
CIE-LCHlch(40.88, 57.94, 138.78°)
OKLaboklab(47.61% -0.1179 0.0865)
OKLCHoklch(47.61% 0.146 143.7)
XYZxyz(6.2297, 11.7908, 2.9246)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701A #701268
analogous
#397012 #12701A #127049
triadic
#12701A #1A1270 #701A12
tetradic
#12701A #123970 #701268 #704912
square
#12701A #123970 #701268 #704912
split-complementary
#12701A #491270 #701239
monochromatic
#041A06 #0A3B0E #12701A #1AA526 #23D932

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12701A#FFFFFF#000000##FFFFFF
##12701A1.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)
#72650A
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #12701a;
/* rgb */ color: rgb(18, 112, 26);
/* oklch */ color: oklch(47.6% 0.146 143.7);
Tailwind
colors: {
  custom: {
    50: '#649a5d',
    500: '#12701a',
    950: '#000000',
  },
}
SCSS
$custom: #12701a;
$custom-light: #649a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12701a",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 125.106,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47608,
    "c": 0.14627,
    "h": 143.7
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#12701A
secondary
#A7379D
accent
#39E0EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12701A

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

Preview Lab → · Contrast checker → · Palette generator →

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