#12671A#12671A

#12671A is a dark, vivid green. Relative luminance 0.099; OKLCH L 44.9% C 0.135 H 144.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#12671A
RGBrgb(18, 103, 26)
HSLhsl(126, 70%, 24%)
HSVhsv(126, 83%, 40%)
CMYKcmyk(82.5%, 0%, 74.8%, 59.6%)
CIE-LABlab(37.67, -40.48, 34.86)
CIE-LCHlch(37.67, 53.42, 139.26°)
OKLaboklab(44.94% -0.1095 0.0796)
OKLCHoklch(44.94% 0.135 144)
XYZxyz(5.2858, 9.9030, 2.6100)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671A #67125F
analogous
#346712 #12671A #126744
triadic
#12671A #1A1267 #671A12
tetradic
#12671A #123467 #67125F #674412
square
#12671A #123467 #67125F #674412
split-complementary
#12671A #441267 #671234
monochromatic
#051A07 #09330D #12671A #1B9B27 #24CF34

Accessibility & contrast

On white

7.05
#12671A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#12671A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12671A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12671A#FFFFFF#000000##FFFFFF
##12671A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0E
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12671a;
/* rgb */ color: rgb(18, 103, 26);
/* oklch */ color: oklch(44.9% 0.135 144.0);
Tailwind
colors: {
  custom: {
    50: '#61935b',
    500: '#12671a',
    950: '#000000',
  },
}
SCSS
$custom: #12671a;
$custom-light: #61935b;
$custom-dark: #000000;
JSON
{
  "hex": "#12671a",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 125.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.13535,
    "h": 144
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#12671A
secondary
#9F3695
accent
#3BDCED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671A

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

Preview Lab → · Contrast checker → · Palette generator →

#12671A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva