#12270F#12270F

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

Color values

HEX#12270F
RGBrgb(18, 39, 15)
HSLhsl(113, 44%, 11%)
HSVhsv(113, 62%, 15%)
CMYKcmyk(53.8%, 0%, 61.5%, 84.7%)
CIE-LABlab(13.32, -14.61, 12.84)
CIE-LCHlch(13.32, 19.45, 138.69°)
OKLaboklab(24.77% -0.0399 0.032)
OKLCHoklch(24.77% 0.051 141.3)
XYZxyz(1.0612, 1.6141, 0.7075)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12270F #240F27
analogous
#1E270F #12270F #0F2718
triadic
#12270F #0F1227 #270F12
tetradic
#12270F #0F1E27 #240F27 #27180F
square
#12270F #0F1E27 #240F27 #27180F
split-complementary
#12270F #180F27 #270F1E
monochromatic
#0A1609 #0A1609 #12270F #265320 #3B7F31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12270F#FFFFFF#000000##FFFFFF
##12270F1.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)
#28230D
Deuteranopia (green-blind)
#252111
Tritanopia (blue-blind)
#102621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12270f;
/* rgb */ color: rgb(18, 39, 15);
/* oklch */ color: oklch(24.8% 0.051 141.3);
Tailwind
colors: {
  custom: {
    50: '#51614e',
    500: '#12270f',
    950: '#000000',
  },
}
SCSS
$custom: #12270f;
$custom-light: #51614e;
$custom-dark: #000000;
JSON
{
  "hex": "#12270f",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 112.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.24773,
    "c": 0.05113,
    "h": 141.3
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#12270F
secondary
#5A3260
accent
#54D4C4
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020501
muted
#787977

Preview Lab

Preview with #12270F

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

Preview Lab → · Contrast checker → · Palette generator →

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