#12671F#12671F

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

Color values

HEX#12671F
RGBrgb(18, 103, 31)
HSLhsl(129, 70%, 24%)
HSVhsv(129, 83%, 40%)
CMYKcmyk(82.5%, 0%, 69.9%, 59.6%)
CIE-LABlab(37.71, -39.94, 32.67)
CIE-LCHlch(37.71, 51.60, 140.72°)
OKLaboklab(44.99% -0.1078 0.0756)
OKLCHoklch(44.99% 0.132 144.9)
XYZxyz(5.3466, 9.9274, 2.9305)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671F #67125A
analogous
#2F6712 #12671F #126749
triadic
#12671F #1F1267 #671F12
tetradic
#12671F #122F67 #67125A #674912
square
#12671F #122F67 #67125A #674912
split-complementary
#12671F #491267 #67122F
monochromatic
#051A08 #09330F #12671F #1B9B2F #24CF3E

Accessibility & contrast

On white

7.03
#12671F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#12671F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12671F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12671F#FFFFFF#000000##FFFFFF
##12671F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12671f;
/* rgb */ color: rgb(18, 103, 31);
/* oklch */ color: oklch(45.0% 0.132 144.9);
Tailwind
colors: {
  custom: {
    50: '#61935e',
    500: '#12671f',
    950: '#000000',
  },
}
SCSS
$custom: #12671f;
$custom-light: #61935e;
$custom-dark: #000000;
JSON
{
  "hex": "#12671f",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 129.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.13166,
    "h": 144.9
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#12671F
secondary
#9F368F
accent
#3BD2ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671F

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

Preview Lab → · Contrast checker → · Palette generator →

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