#12720F#12720F

#12720F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.154 H 142.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#12720F
RGBrgb(18, 114, 15)
HSLhsl(118, 77%, 25%)
HSVhsv(118, 87%, 45%)
CMYKcmyk(84.2%, 0%, 86.8%, 55.3%)
CIE-LABlab(41.53, -45.05, 42.56)
CIE-LCHlch(41.53, 61.97, 136.63°)
OKLaboklab(48.13% -0.1224 0.0941)
OKLCHoklch(48.13% 0.154 142.5)
XYZxyz(6.3526, 12.1969, 2.4713)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12720F #6F0F72
analogous
#43720F #12720F #0F723E
triadic
#12720F #0F1272 #720F12
tetradic
#12720F #0F4372 #6F0F72 #723E0F
square
#12720F #0F4372 #6F0F72 #723E0F
split-complementary
#12720F #3E0F72 #720F43
monochromatic
#041B04 #093C08 #12720F #1BA816 #23DE1D

Accessibility & contrast

On white

6.11
#12720F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#12720F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12720F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12720F#FFFFFF#000000##FFFFFF
##12720F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12720f;
/* rgb */ color: rgb(18, 114, 15);
/* oklch */ color: oklch(48.1% 0.154 142.5);
Tailwind
colors: {
  custom: {
    50: '#659c58',
    500: '#12720f',
    950: '#000000',
  },
}
SCSS
$custom: #12720f;
$custom-light: #659c58;
$custom-dark: #000000;
JSON
{
  "hex": "#12720f",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 15
  },
  "hsl": {
    "h": 118.182,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.15437,
    "h": 142.5
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#12720F
secondary
#A633AA
accent
#35F3EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #12720F

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

Preview Lab → · Contrast checker → · Palette generator →

#12720F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva