#122C07#122C07

#122C07 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.3% C 0.069 H 137.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#122C07
RGBrgb(18, 44, 7)
HSLhsl(102, 73%, 10%)
HSVhsv(102, 84%, 17%)
CMYKcmyk(59.1%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.20, -18.42, 18.85)
CIE-LCHlch(15.20, 26.36, 134.33°)
OKLaboklab(26.28% -0.0509 0.0461)
OKLCHoklch(26.28% 0.069 137.8)
XYZxyz(1.1884, 1.9452, 0.5138)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C07 #21072C
analogous
#252C07 #122C07 #072C0E
triadic
#122C07 #07122C #2C0712
tetradic
#122C07 #07252C #21072C #2C0E07
square
#122C07 #07252C #21072C #2C0E07
split-complementary
#122C07 #0E072C #2C0725
monochromatic
#0B1A04 #0B1A04 #122C07 #28610F #3D9618

Accessibility & contrast

On white

15.12
#122C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C07
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C07#FFFFFF#000000##FFFFFF
##122C071.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2703
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#102A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c07;
/* rgb */ color: rgb(18, 44, 7);
/* oklch */ color: oklch(26.3% 0.069 137.8);
Tailwind
colors: {
  custom: {
    50: '#52654a',
    500: '#122c07',
    950: '#000000',
  },
}
SCSS
$custom: #122c07;
$custom-light: #52654a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c07",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 102.162,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26279,
    "c": 0.06869,
    "h": 137.8
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#122C07
secondary
#56236C
accent
#39EFB9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #122C07

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

Preview Lab → · Contrast checker → · Palette generator →

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