#122F0B#122F0B

#122F0B is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.3% C 0.070 H 139.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#122F0B
RGBrgb(18, 47, 11)
HSLhsl(108, 62%, 11%)
HSVhsv(108, 77%, 18%)
CMYKcmyk(61.7%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.43, -19.42, 18.77)
CIE-LCHlch(16.43, 27.01, 135.98°)
OKLaboklab(27.31% -0.0533 0.0448)
OKLCHoklch(27.31% 0.07 139.9)
XYZxyz(1.3263, 2.1857, 0.6685)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F0B #280B2F
analogous
#242F0B #122F0B #0B2F16
triadic
#122F0B #0B122F #2F0B12
tetradic
#122F0B #0B242F #280B2F #2F160B
square
#122F0B #0B242F #280B2F #2F160B
split-complementary
#122F0B #160B2F #2F0B24
monochromatic
#091906 #091906 #122F0B #256117 #389222

Accessibility & contrast

On white

14.61
#122F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F0B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F0B#FFFFFF#000000##FFFFFF
##122F0B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#0F2D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122f0b;
/* rgb */ color: rgb(18, 47, 11);
/* oklch */ color: oklch(27.3% 0.070 139.9);
Tailwind
colors: {
  custom: {
    50: '#53684c',
    500: '#122f0b',
    950: '#000000',
  },
}
SCSS
$custom: #122f0b;
$custom-light: #53684c;
$custom-dark: #000000;
JSON
{
  "hex": "#122f0b",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 108.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27309,
    "c": 0.06958,
    "h": 139.9
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#122F0B
secondary
#5F2A6B
accent
#43E5C6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #122F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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