#12702D#12702D

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

Color values

HEX#12702D
RGBrgb(18, 112, 45)
HSLhsl(137, 72%, 25%)
HSVhsv(137, 84%, 44%)
CMYKcmyk(83.9%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.07, -41.33, 29.57)
CIE-LCHlch(41.07, 50.81, 144.42°)
OKLaboklab(47.82% -0.111 0.0703)
OKLCHoklch(47.82% 0.131 147.6)
XYZxyz(6.5168, 11.9056, 4.4367)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12702D #701255
analogous
#267012 #12702D #12705C
triadic
#12702D #2D1270 #702D12
tetradic
#12702D #122670 #701255 #705C12
square
#12702D #122670 #701255 #705C12
split-complementary
#12702D #5C1270 #701226
monochromatic
#041A0B #0A3B18 #12702D #1AA542 #23D957

Accessibility & contrast

On white

6.21
#12702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12702D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12702D#FFFFFF#000000##FFFFFF
##12702D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12702d;
/* rgb */ color: rgb(18, 112, 45);
/* oklch */ color: oklch(47.8% 0.131 147.6);
Tailwind
colors: {
  custom: {
    50: '#639a68',
    500: '#12702d',
    950: '#000000',
  },
}
SCSS
$custom: #12702d;
$custom-light: #639a68;
$custom-dark: #000000;
JSON
{
  "hex": "#12702d",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 137.234,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.13145,
    "h": 147.6
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#12702D
secondary
#A73787
accent
#39BBEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12702D

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

Preview Lab → · Contrast checker → · Palette generator →

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