#122A07#122A07

#122A07 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.065 H 137.3°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#122A07
RGBrgb(18, 42, 7)
HSLhsl(101, 71%, 10%)
HSVhsv(101, 83%, 16%)
CMYKcmyk(57.1%, 0%, 83.3%, 83.5%)
CIE-LABlab(14.40, -17.40, 17.82)
CIE-LCHlch(14.40, 24.91, 134.31°)
OKLaboklab(25.62% -0.0481 0.0444)
OKLCHoklch(25.62% 0.065 137.3)
XYZxyz(1.1157, 1.7998, 0.4896)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A07 #1F072A
analogous
#242A07 #122A07 #072A0E
triadic
#122A07 #07122A #2A0712
tetradic
#122A07 #07242A #1F072A #2A0E07
square
#122A07 #07242A #1F072A #2A0E07
split-complementary
#122A07 #0E072A #2A0724
monochromatic
#0B1A04 #0B1A04 #122A07 #285E10 #3F9318

Accessibility & contrast

On white

15.44
#122A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A07
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A07#FFFFFF#000000##FFFFFF
##122A071.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#28240A
Tritanopia (blue-blind)
#112823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122a07;
/* rgb */ color: rgb(18, 42, 7);
/* oklch */ color: oklch(25.6% 0.065 137.3);
Tailwind
colors: {
  custom: {
    50: '#52644a',
    500: '#122a07',
    950: '#000000',
  },
}
SCSS
$custom: #122a07;
$custom-light: #52644a;
$custom-dark: #000000;
JSON
{
  "hex": "#122a07",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 101.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25624,
    "c": 0.06546,
    "h": 137.3
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#122A07
secondary
#53236A
accent
#3AEEB5
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #122A07

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

Preview Lab → · Contrast checker → · Palette generator →

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