#12701D#12701D

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

Color values

HEX#12701D
RGBrgb(18, 112, 29)
HSLhsl(127, 72%, 25%)
HSVhsv(127, 84%, 44%)
CMYKcmyk(83.9%, 0%, 74.1%, 56.1%)
CIE-LABlab(40.90, -43.30, 36.97)
CIE-LCHlch(40.90, 56.94, 139.51°)
OKLaboklab(47.64% -0.117 0.0844)
OKLCHoklch(47.64% 0.144 144.2)
XYZxyz(6.2650, 11.8049, 3.1105)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701D #701265
analogous
#367012 #12701D #12704C
triadic
#12701D #1D1270 #701D12
tetradic
#12701D #123670 #701265 #704C12
square
#12701D #123670 #701265 #704C12
split-complementary
#12701D #4C1270 #701236
monochromatic
#041A07 #0A3B0F #12701D #1AA52B #23D938

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12701D#FFFFFF#000000##FFFFFF
##12701D1.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)
#726510
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #12701d;
/* rgb */ color: rgb(18, 112, 29);
/* oklch */ color: oklch(47.6% 0.144 144.2);
Tailwind
colors: {
  custom: {
    50: '#649a5e',
    500: '#12701d',
    950: '#000000',
  },
}
SCSS
$custom: #12701d;
$custom-light: #649a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12701d",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 127.021,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.14429,
    "h": 144.2
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#12701D
secondary
#A7379A
accent
#39DAEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12701D

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

Preview Lab → · Contrast checker → · Palette generator →

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