#12400F#12400F

#12400F is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.092 H 142.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#12400F
RGBrgb(18, 64, 15)
HSLhsl(116, 62%, 15%)
HSVhsv(116, 77%, 25%)
CMYKcmyk(71.9%, 0%, 76.6%, 74.9%)
CIE-LABlab(23.10, -26.71, 24.49)
CIE-LCHlch(23.10, 36.24, 137.49°)
OKLaboklab(32.82% -0.0727 0.0563)
OKLCHoklch(32.82% 0.092 142.3)
XYZxyz(2.1690, 3.8297, 1.0767)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12400F #3D0F40
analogous
#2A400F #12400F #0F4024
triadic
#12400F #0F1240 #400F12
tetradic
#12400F #0F2A40 #3D0F40 #40240F
square
#12400F #0F2A40 #3D0F40 #40240F
split-complementary
#12400F #240F40 #400F2A
monochromatic
#071906 #071906 #12400F #20721B #2EA326

Accessibility & contrast

On white

11.89
#12400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#12400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12400F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12400F#FFFFFF#000000##FFFFFF
##12400F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423908
Deuteranopia (green-blind)
#3C3614
Tritanopia (blue-blind)
#093E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12400f;
/* rgb */ color: rgb(18, 64, 15);
/* oklch */ color: oklch(32.8% 0.092 142.3);
Tailwind
colors: {
  custom: {
    50: '#577550',
    500: '#12400f',
    950: '#000000',
  },
}
SCSS
$custom: #12400f;
$custom-light: #577550;
$custom-dark: #000000;
JSON
{
  "hex": "#12400f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 116.327,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.09198,
    "h": 142.3
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#12400F
secondary
#76307A
accent
#43E5DB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #12400F

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

Preview Lab → · Contrast checker → · Palette generator →

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