#122912#122912

#122912 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.5% C 0.051 H 143.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#122912
RGBrgb(18, 41, 18)
HSLhsl(120, 39%, 12%)
HSVhsv(120, 56%, 16%)
CMYKcmyk(56.1%, 0%, 56.1%, 83.9%)
CIE-LABlab(14.16, -15.18, 12.25)
CIE-LCHlch(14.16, 19.50, 141.09°)
OKLaboklab(25.48% -0.0413 0.0301)
OKLCHoklch(25.48% 0.051 143.9)
XYZxyz(1.1515, 1.7581, 0.8508)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122912 #291229
analogous
#1E2912 #122912 #12291E
triadic
#122912 #121229 #291212
tetradic
#122912 #121E29 #291229 #291E12
square
#122912 #121E29 #291229 #291E12
split-complementary
#122912 #1E1229 #29121E
monochromatic
#091509 #091509 #122912 #255425 #377E37

Accessibility & contrast

On white

15.54
#122912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#122912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122912
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122912#FFFFFF#000000##FFFFFF
##1229121.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2510
Deuteranopia (green-blind)
#272313
Tritanopia (blue-blind)
#0F2823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122912;
/* rgb */ color: rgb(18, 41, 18);
/* oklch */ color: oklch(25.5% 0.051 143.9);
Tailwind
colors: {
  custom: {
    50: '#516350',
    500: '#122912',
    950: '#000000',
  },
}
SCSS
$custom: #122912;
$custom-light: #516350;
$custom-dark: #000000;
JSON
{
  "hex": "#122912",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 38.983,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25482,
    "c": 0.05112,
    "h": 143.9
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#122912
secondary
#603760
accent
#59CFCF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #122912

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

Preview Lab → · Contrast checker → · Palette generator →

#122912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva