#12671E#12671E

#12671E is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.132 H 144.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#12671E
RGBrgb(18, 103, 30)
HSLhsl(128, 70%, 24%)
HSVhsv(128, 83%, 40%)
CMYKcmyk(82.5%, 0%, 70.9%, 59.6%)
CIE-LABlab(37.70, -40.05, 33.12)
CIE-LCHlch(37.70, 51.97, 140.41°)
OKLaboklab(44.98% -0.1081 0.0765)
OKLCHoklch(44.98% 0.132 144.7)
XYZxyz(5.3337, 9.9222, 2.8621)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671E #67125B
analogous
#306712 #12671E #126748
triadic
#12671E #1E1267 #671E12
tetradic
#12671E #123067 #67125B #674812
square
#12671E #123067 #67125B #674812
split-complementary
#12671E #481267 #671230
monochromatic
#051A08 #09330F #12671E #1B9B2D #24CF3C

Accessibility & contrast

On white

7.04
#12671E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#12671E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12671E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12671E#FFFFFF#000000##FFFFFF
##12671E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D14
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12671e;
/* rgb */ color: rgb(18, 103, 30);
/* oklch */ color: oklch(45.0% 0.132 144.7);
Tailwind
colors: {
  custom: {
    50: '#61935e',
    500: '#12671e',
    950: '#000000',
  },
}
SCSS
$custom: #12671e;
$custom-light: #61935e;
$custom-dark: #000000;
JSON
{
  "hex": "#12671e",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 128.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.13243,
    "h": 144.7
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#12671E
secondary
#9F3690
accent
#3BD4ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671E

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

Preview Lab → · Contrast checker → · Palette generator →

#12671E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva