#122F0F#122F0F

#122F0F is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.065 H 141.8°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#122F0F
RGBrgb(18, 47, 15)
HSLhsl(114, 52%, 12%)
HSVhsv(114, 68%, 18%)
CMYKcmyk(61.7%, 0%, 68.1%, 81.6%)
CIE-LABlab(16.48, -18.87, 16.91)
CIE-LCHlch(16.48, 25.34, 138.12°)
OKLaboklab(27.37% -0.0515 0.0404)
OKLCHoklch(27.37% 0.065 141.8)
XYZxyz(1.3521, 2.1960, 0.8045)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F0F #2C0F2F
analogous
#222F0F #122F0F #0F2F1C
triadic
#122F0F #0F122F #2F0F12
tetradic
#122F0F #0F222F #2C0F2F #2F1C0F
square
#122F0F #0F222F #2C0F2F #2F1C0F
split-complementary
#122F0F #1C0F2F #2F0F22
monochromatic
#091707 #091707 #122F0F #245D1E #368C2D

Accessibility & contrast

On white

14.59
#122F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F0F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F0F#FFFFFF#000000##FFFFFF
##122F0F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2C2811
Tritanopia (blue-blind)
#0E2D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122f0f;
/* rgb */ color: rgb(18, 47, 15);
/* oklch */ color: oklch(27.4% 0.065 141.8);
Tailwind
colors: {
  custom: {
    50: '#53684e',
    500: '#122f0f',
    950: '#000000',
  },
}
SCSS
$custom: #122f0f;
$custom-light: #53684e;
$custom-dark: #000000;
JSON
{
  "hex": "#122f0f",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 114.375,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27367,
    "c": 0.06545,
    "h": 141.8
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#122F0F
secondary
#633169
accent
#4DDBCE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #122F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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