#12370F#12370F

#12370F is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.9% C 0.078 H 142.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#12370F
RGBrgb(18, 55, 15)
HSLhsl(116, 57%, 14%)
HSVhsv(116, 73%, 22%)
CMYKcmyk(67.3%, 0%, 72.7%, 78.4%)
CIE-LABlab(19.62, -22.73, 20.65)
CIE-LCHlch(19.62, 30.71, 137.74°)
OKLaboklab(29.95% -0.0619 0.0482)
OKLCHoklch(29.95% 0.078 142.1)
XYZxyz(1.7018, 2.8953, 0.9210)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12370F #340F37
analogous
#26370F #12370F #0F3720
triadic
#12370F #0F1237 #370F12
tetradic
#12370F #0F2637 #340F37 #37200F
square
#12370F #0F2637 #340F37 #37200F
split-complementary
#12370F #200F37 #370F26
monochromatic
#081807 #081807 #12370F #22671C #319729

Accessibility & contrast

On white

13.30
#12370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#12370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12370F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12370F#FFFFFF#000000##FFFFFF
##12370F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310A
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#0C352F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12370f;
/* rgb */ color: rgb(18, 55, 15);
/* oklch */ color: oklch(29.9% 0.078 142.1);
Tailwind
colors: {
  custom: {
    50: '#556e4f',
    500: '#12370f',
    950: '#000000',
  },
}
SCSS
$custom: #12370f;
$custom-light: #556e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12370f",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 115.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29948,
    "c": 0.07849,
    "h": 142.1
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#12370F
secondary
#6C3171
accent
#47E0D5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #12370F

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

Preview Lab → · Contrast checker → · Palette generator →

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