#12702B#12702B

#12702B is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.133 H 147.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#12702B
RGBrgb(18, 112, 43)
HSLhsl(136, 72%, 25%)
HSVhsv(136, 84%, 44%)
CMYKcmyk(83.9%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.04, -41.62, 30.56)
CIE-LCHlch(41.04, 51.64, 143.71°)
OKLaboklab(47.79% -0.1119 0.0724)
OKLCHoklch(47.79% 0.133 147.1)
XYZxyz(6.4792, 11.8906, 4.2387)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12702B #701257
analogous
#287012 #12702B #12705A
triadic
#12702B #2B1270 #702B12
tetradic
#12702B #122870 #701257 #705A12
square
#12702B #122870 #701257 #705A12
split-complementary
#12702B #5A1270 #701228
monochromatic
#041A0A #0A3B17 #12702B #1AA53F #23D953

Accessibility & contrast

On white

6.22
#12702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#12702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12702B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12702B#FFFFFF#000000##FFFFFF
##12702B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #12702b;
/* rgb */ color: rgb(18, 112, 43);
/* oklch */ color: oklch(47.8% 0.133 147.1);
Tailwind
colors: {
  custom: {
    50: '#639a67',
    500: '#12702b',
    950: '#000000',
  },
}
SCSS
$custom: #12702b;
$custom-light: #639a67;
$custom-dark: #000000;
JSON
{
  "hex": "#12702b",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 135.957,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.13324,
    "h": 147.1
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#12702B
secondary
#A73789
accent
#39BFEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12702B

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

Preview Lab → · Contrast checker → · Palette generator →

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