#12641F#12641F

#12641F is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.128 H 145.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#12641F
RGBrgb(18, 100, 31)
HSLhsl(130, 69%, 23%)
HSVhsv(130, 82%, 39%)
CMYKcmyk(82%, 0%, 69%, 60.8%)
CIE-LABlab(36.63, -38.85, 31.48)
CIE-LCHlch(36.63, 50.01, 140.98°)
OKLaboklab(44.09% -0.1048 0.0731)
OKLCHoklch(44.09% 0.128 145.1)
XYZxyz(5.0536, 9.3413, 2.8328)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12641F #641257
analogous
#2E6412 #12641F #126448
triadic
#12641F #1F1264 #641F12
tetradic
#12641F #122E64 #641257 #644812
square
#12641F #122E64 #641257 #644812
split-complementary
#12641F #481264 #64122E
monochromatic
#051A08 #09300F #12641F #1B982F #25CC3F

Accessibility & contrast

On white

7.32
#12641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#12641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12641F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12641F#FFFFFF#000000##FFFFFF
##12641F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #12641f;
/* rgb */ color: rgb(18, 100, 31);
/* oklch */ color: oklch(44.1% 0.128 145.1);
Tailwind
colors: {
  custom: {
    50: '#60915e',
    500: '#12641f',
    950: '#000000',
  },
}
SCSS
$custom: #12641f;
$custom-light: #60915e;
$custom-dark: #000000;
JSON
{
  "hex": "#12641f",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 129.512,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.12781,
    "h": 145.1
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#12641F
secondary
#9C368C
accent
#3BD0EC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#050D04
muted
#797E79

Preview Lab

Preview with #12641F

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

Preview Lab → · Contrast checker → · Palette generator →

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