#12631C#12631C

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

Color values

HEX#12631C
RGBrgb(18, 99, 28)
HSLhsl(127, 69%, 23%)
HSVhsv(127, 82%, 39%)
CMYKcmyk(81.8%, 0%, 71.7%, 61.2%)
CIE-LABlab(36.24, -38.84, 32.47)
CIE-LCHlch(36.24, 50.62, 140.11°)
OKLaboklab(43.76% -0.1049 0.0748)
OKLCHoklch(43.76% 0.129 144.5)
XYZxyz(4.9206, 9.1355, 2.6024)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12631C #631259
analogous
#316312 #12631C #126344
triadic
#12631C #1C1263 #631C12
tetradic
#12631C #123163 #631259 #634412
square
#12631C #123163 #631259 #634412
split-complementary
#12631C #441263 #631231
monochromatic
#051A07 #092F0D #12631C #1B972B #25CB39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12631C#FFFFFF#000000##FFFFFF
##12631C1.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)
#655912
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #12631c;
/* rgb */ color: rgb(18, 99, 28);
/* oklch */ color: oklch(43.8% 0.129 144.5);
Tailwind
colors: {
  custom: {
    50: '#60905c',
    500: '#12631c',
    950: '#000000',
  },
}
SCSS
$custom: #12631c;
$custom-light: #60905c;
$custom-dark: #000000;
JSON
{
  "hex": "#12631c",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 127.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43759,
    "c": 0.12888,
    "h": 144.5
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#12631C
secondary
#9B368F
accent
#3CD6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050D04
muted
#7A7D79

Preview Lab

Preview with #12631C

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

Preview Lab → · Contrast checker → · Palette generator →

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