#12631F#12631F

#12631F is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.8% C 0.127 H 145.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#12631F
RGBrgb(18, 99, 31)
HSLhsl(130, 69%, 23%)
HSVhsv(130, 82%, 39%)
CMYKcmyk(81.8%, 0%, 68.7%, 61.2%)
CIE-LABlab(36.27, -38.49, 31.09)
CIE-LCHlch(36.27, 49.47, 141.07°)
OKLaboklab(43.79% -0.1038 0.0723)
OKLCHoklch(43.79% 0.127 145.2)
XYZxyz(4.9583, 9.1506, 2.8010)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12631F #631256
analogous
#2D6312 #12631F #126347
triadic
#12631F #1F1263 #631F12
tetradic
#12631F #122D63 #631256 #634712
square
#12631F #122D63 #631256 #634712
split-complementary
#12631F #471263 #63122D
monochromatic
#051A08 #092F0F #12631F #1B972F #25CB3F

Accessibility & contrast

On white

7.42
#12631F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12631F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12631F#FFFFFF#000000##FFFFFF
##12631F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655917
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #12631f;
/* rgb */ color: rgb(18, 99, 31);
/* oklch */ color: oklch(43.8% 0.127 145.2);
Tailwind
colors: {
  custom: {
    50: '#60905e',
    500: '#12631f',
    950: '#000000',
  },
}
SCSS
$custom: #12631f;
$custom-light: #60905e;
$custom-dark: #000000;
JSON
{
  "hex": "#12631f",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 129.63,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.12651,
    "h": 145.2
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#12631F
secondary
#9B368B
accent
#3CD0EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050D04
muted
#7A7D79

Preview Lab

Preview with #12631F

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

Preview Lab → · Contrast checker → · Palette generator →

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