#122F07#122F07

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

Color values

HEX#122F07
RGBrgb(18, 47, 7)
HSLhsl(104, 74%, 11%)
HSVhsv(104, 85%, 18%)
CMYKcmyk(61.7%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.39, -19.90, 20.36)
CIE-LCHlch(16.39, 28.47, 134.36°)
OKLaboklab(27.26% -0.0549 0.0487)
OKLCHoklch(27.26% 0.073 138.4)
XYZxyz(1.3043, 2.1769, 0.5524)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F07 #24072F
analogous
#262F07 #122F07 #072F10
triadic
#122F07 #07122F #2F0712
tetradic
#122F07 #07262F #24072F #2F1007
square
#122F07 #07262F #24072F #2F1007
split-complementary
#122F07 #10072F #2F0726
monochromatic
#0A1B04 #0A1B04 #122F07 #26640F #3B9A17

Accessibility & contrast

On white

14.63
#122F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F07
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F07#FFFFFF#000000##FFFFFF
##122F071.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#102D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122f07;
/* rgb */ color: rgb(18, 47, 7);
/* oklch */ color: oklch(27.3% 0.073 138.4);
Tailwind
colors: {
  custom: {
    50: '#53684a',
    500: '#122f07',
    950: '#000000',
  },
}
SCSS
$custom: #122f07;
$custom-light: #53684a;
$custom-dark: #000000;
JSON
{
  "hex": "#122f07",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 103.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27259,
    "c": 0.07342,
    "h": 138.4
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#122F07
secondary
#5A236F
accent
#37F1BE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #122F07

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

Preview Lab → · Contrast checker → · Palette generator →

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