#122B07#122B07

#122B07 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.067 H 137.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#122B07
RGBrgb(18, 43, 7)
HSLhsl(102, 72%, 10%)
HSVhsv(102, 84%, 17%)
CMYKcmyk(58.1%, 0%, 83.7%, 83.1%)
CIE-LABlab(14.80, -17.91, 18.34)
CIE-LCHlch(14.80, 25.64, 134.32°)
OKLaboklab(25.95% -0.0495 0.0453)
OKLCHoklch(25.95% 0.067 137.6)
XYZxyz(1.1516, 1.8716, 0.5015)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B07 #20072B
analogous
#242B07 #122B07 #072B0E
triadic
#122B07 #07122B #2B0712
tetradic
#122B07 #07242B #20072B #2B0E07
square
#122B07 #07242B #20072B #2B0E07
split-complementary
#122B07 #0E072B #2B0724
monochromatic
#0B1A04 #0B1A04 #122B07 #286010 #3E9418

Accessibility & contrast

On white

15.28
#122B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B07
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B07#FFFFFF#000000##FFFFFF
##122B071.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#102924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122b07;
/* rgb */ color: rgb(18, 43, 7);
/* oklch */ color: oklch(26.0% 0.067 137.6);
Tailwind
colors: {
  custom: {
    50: '#52644a',
    500: '#122b07',
    950: '#000000',
  },
}
SCSS
$custom: #122b07;
$custom-light: #52644a;
$custom-dark: #000000;
JSON
{
  "hex": "#122b07",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 101.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25951,
    "c": 0.06709,
    "h": 137.6
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#122B07
secondary
#55236B
accent
#39EFB7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #122B07

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

Preview Lab → · Contrast checker → · Palette generator →

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