#122A18#122A18

#122A18 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.9% C 0.045 H 150.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#122A18
RGBrgb(18, 42, 24)
HSLhsl(135, 40%, 12%)
HSVhsv(135, 57%, 16%)
CMYKcmyk(57.1%, 0%, 42.9%, 83.5%)
CIE-LABlab(14.68, -14.47, 8.95)
CIE-LCHlch(14.68, 17.02, 148.28°)
OKLaboklab(25.95% -0.0394 0.0225)
OKLCHoklch(25.95% 0.045 150.3)
XYZxyz(1.2422, 1.8504, 1.1557)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A18 #2A1224
analogous
#182A12 #122A18 #122A24
triadic
#122A18 #18122A #2A1812
tetradic
#122A18 #12182A #2A1224 #2A2412
square
#122A18 #12182A #2A1224 #2A2412
split-complementary
#122A18 #24122A #2A1218
monochromatic
#09150C #09150C #122A18 #245530 #378049

Accessibility & contrast

On white

15.33
#122A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A18
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A18#FFFFFF#000000##FFFFFF
##122A181.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#272419
Tritanopia (blue-blind)
#0D2925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122a18;
/* rgb */ color: rgb(18, 42, 24);
/* oklch */ color: oklch(25.9% 0.045 150.3);
Tailwind
colors: {
  custom: {
    50: '#516354',
    500: '#122a18',
    950: '#000000',
  },
}
SCSS
$custom: #122a18;
$custom-light: #516354;
$custom-dark: #000000;
JSON
{
  "hex": "#122a18",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 135,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25946,
    "c": 0.04535,
    "h": 150.3
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#122A18
secondary
#613757
accent
#58B2D0
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #122A18

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

Preview Lab → · Contrast checker → · Palette generator →

#122A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva