#12701B#12701B

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

Color values

HEX#12701B
RGBrgb(18, 112, 27)
HSLhsl(126, 72%, 25%)
HSVhsv(126, 84%, 44%)
CMYKcmyk(83.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(40.89, -43.49, 37.78)
CIE-LCHlch(40.89, 57.61, 139.02°)
OKLaboklab(47.62% -0.1176 0.0858)
OKLCHoklch(47.62% 0.146 143.9)
XYZxyz(6.2410, 11.7953, 2.9845)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12701B #701267
analogous
#387012 #12701B #12704A
triadic
#12701B #1B1270 #701B12
tetradic
#12701B #123870 #701267 #704A12
square
#12701B #123870 #701267 #704A12
split-complementary
#12701B #4A1270 #701238
monochromatic
#041A06 #0A3B0E #12701B #1AA528 #23D934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12701b;
/* rgb */ color: rgb(18, 112, 27);
/* oklch */ color: oklch(47.6% 0.146 143.9);
Tailwind
colors: {
  custom: {
    50: '#649a5d',
    500: '#12701b',
    950: '#000000',
  },
}
SCSS
$custom: #12701b;
$custom-light: #649a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12701b",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 125.745,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.14562,
    "h": 143.9
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#12701B
secondary
#A7379C
accent
#39DEEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12701B

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

Preview Lab → · Contrast checker → · Palette generator →

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