#12631B#12631B

#12631B is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.130 H 144.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#12631B
RGBrgb(18, 99, 27)
HSLhsl(127, 69%, 23%)
HSVhsv(127, 82%, 39%)
CMYKcmyk(81.8%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.23, -38.95, 32.91)
CIE-LCHlch(36.23, 50.99, 139.80°)
OKLaboklab(43.75% -0.1053 0.0756)
OKLCHoklch(43.75% 0.13 144.3)
XYZxyz(4.9088, 9.1308, 2.5404)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12631B #63125A
analogous
#316312 #12631B #126343
triadic
#12631B #1B1263 #631B12
tetradic
#12631B #123163 #63125A #634312
square
#12631B #123163 #63125A #634312
split-complementary
#12631B #431263 #631231
monochromatic
#051A07 #092F0D #12631B #1B9729 #25CB37

Accessibility & contrast

On white

7.43
#12631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#12631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12631B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12631B#FFFFFF#000000##FFFFFF
##12631B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#5C5322
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #12631b;
/* rgb */ color: rgb(18, 99, 27);
/* oklch */ color: oklch(43.7% 0.130 144.3);
Tailwind
colors: {
  custom: {
    50: '#60905b',
    500: '#12631b',
    950: '#000000',
  },
}
SCSS
$custom: #12631b;
$custom-light: #60905b;
$custom-dark: #000000;
JSON
{
  "hex": "#12631b",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 126.667,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.12964,
    "h": 144.3
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#12631B
secondary
#9B3690
accent
#3CD8EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050D04
muted
#7A7D79

Preview Lab

Preview with #12631B

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

Preview Lab → · Contrast checker → · Palette generator →

#12631B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva