#12701C#12701C

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

Color values

HEX#12701C
RGBrgb(18, 112, 28)
HSLhsl(126, 72%, 25%)
HSVhsv(126, 84%, 44%)
CMYKcmyk(83.9%, 0%, 75%, 56.1%)
CIE-LABlab(40.90, -43.40, 37.38)
CIE-LCHlch(40.90, 57.28, 139.26°)
OKLaboklab(47.63% -0.1173 0.0851)
OKLCHoklch(47.63% 0.145 144)
XYZxyz(6.2528, 11.8000, 3.0465)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701C #701266
analogous
#377012 #12701C #12704B
triadic
#12701C #1C1270 #701C12
tetradic
#12701C #123770 #701266 #704B12
square
#12701C #123770 #701266 #704B12
split-complementary
#12701C #4B1270 #701237
monochromatic
#041A07 #0A3B0F #12701C #1AA529 #23D936

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12701c;
/* rgb */ color: rgb(18, 112, 28);
/* oklch */ color: oklch(47.6% 0.145 144.0);
Tailwind
colors: {
  custom: {
    50: '#649a5e',
    500: '#12701c',
    950: '#000000',
  },
}
SCSS
$custom: #12701c;
$custom-light: #649a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12701c",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 126.383,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.14497,
    "h": 144
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#12701C
secondary
#A7379B
accent
#39DCEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12701C

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

Preview Lab → · Contrast checker → · Palette generator →

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