#12701F#12701F

#12701F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.143 H 144.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#12701F
RGBrgb(18, 112, 31)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 84%, 44%)
CMYKcmyk(83.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(40.92, -43.10, 36.13)
CIE-LCHlch(40.92, 56.24, 140.03°)
OKLaboklab(47.65% -0.1164 0.0829)
OKLCHoklch(47.65% 0.143 144.5)
XYZxyz(6.2905, 11.8151, 3.2451)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701F #701263
analogous
#347012 #12701F #12704E
triadic
#12701F #1F1270 #701F12
tetradic
#12701F #123470 #701263 #704E12
square
#12701F #123470 #701263 #704E12
split-complementary
#12701F #4E1270 #701234
monochromatic
#041A07 #0A3B10 #12701F #1AA52E #23D93C

Accessibility & contrast

On white

6.24
#12701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12701F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12701F#FFFFFF#000000##FFFFFF
##12701F1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12701f;
/* rgb */ color: rgb(18, 112, 31);
/* oklch */ color: oklch(47.7% 0.143 144.5);
Tailwind
colors: {
  custom: {
    50: '#649a5f',
    500: '#12701f',
    950: '#000000',
  },
}
SCSS
$custom: #12701f;
$custom-light: #649a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12701f",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 128.298,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.14289,
    "h": 144.5
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#12701F
secondary
#A73798
accent
#39D6EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12701F

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

Preview Lab → · Contrast checker → · Palette generator →

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