#12641C#12641C

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

Color values

HEX#12641C
RGBrgb(18, 100, 28)
HSLhsl(127, 69%, 23%)
HSVhsv(127, 82%, 39%)
CMYKcmyk(82%, 0%, 72%, 60.8%)
CIE-LABlab(36.60, -39.20, 32.85)
CIE-LCHlch(36.60, 51.15, 140.03°)
OKLaboklab(44.06% -0.1059 0.0757)
OKLCHoklch(44.06% 0.13 144.5)
XYZxyz(5.0159, 9.3262, 2.6342)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12641C #64125A
analogous
#316412 #12641C #126445
triadic
#12641C #1C1264 #641C12
tetradic
#12641C #123164 #64125A #644512
square
#12641C #123164 #64125A #644512
split-complementary
#12641C #451264 #641231
monochromatic
#051A07 #09300D #12641C #1B982B #25CC39

Accessibility & contrast

On white

7.33
#12641C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12641C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12641C#FFFFFF#000000##FFFFFF
##12641C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A12
Deuteranopia (green-blind)
#5D5423
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #12641c;
/* rgb */ color: rgb(18, 100, 28);
/* oklch */ color: oklch(44.1% 0.130 144.5);
Tailwind
colors: {
  custom: {
    50: '#60915c',
    500: '#12641c',
    950: '#000000',
  },
}
SCSS
$custom: #12641c;
$custom-light: #60915c;
$custom-dark: #000000;
JSON
{
  "hex": "#12641c",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 127.317,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.13015,
    "h": 144.5
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#12641C
secondary
#9C368F
accent
#3BD7EC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12641C

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

Preview Lab → · Contrast checker → · Palette generator →

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