#12270E#12270E

#12270E is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.8% C 0.052 H 140.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#12270E
RGBrgb(18, 39, 14)
HSLhsl(110, 47%, 10%)
HSVhsv(110, 64%, 15%)
CMYKcmyk(53.8%, 0%, 64.1%, 84.7%)
CIE-LABlab(13.30, -14.78, 13.33)
CIE-LCHlch(13.30, 19.91, 137.95°)
OKLaboklab(24.75% -0.0404 0.0333)
OKLCHoklch(24.75% 0.052 140.5)
XYZxyz(1.0542, 1.6113, 0.6708)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12270E #230E27
analogous
#1E270E #12270E #0E2716
triadic
#12270E #0E1227 #270E12
tetradic
#12270E #0E1E27 #230E27 #27160E
square
#12270E #0E1E27 #230E27 #27160E
split-complementary
#12270E #160E27 #270E1E
monochromatic
#0A1708 #0A1708 #12270E #27541E #3C812E

Accessibility & contrast

On white

15.88
#12270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12270E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12270E
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12270E#FFFFFF#000000##FFFFFF
##12270E1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230C
Deuteranopia (green-blind)
#252110
Tritanopia (blue-blind)
#102621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12270e;
/* rgb */ color: rgb(18, 39, 14);
/* oklch */ color: oklch(24.8% 0.052 140.5);
Tailwind
colors: {
  custom: {
    50: '#51614d',
    500: '#12270e',
    950: '#000000',
  },
}
SCSS
$custom: #12270e;
$custom-light: #51614d;
$custom-dark: #000000;
JSON
{
  "hex": "#12270e",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 110.4,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.24753,
    "c": 0.05238,
    "h": 140.5
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#12270E
secondary
#593060
accent
#51D7C1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020501
muted
#787977

Preview Lab

Preview with #12270E

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

Preview Lab → · Contrast checker → · Palette generator →

#12270E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva