#122F06#122F06

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

Color values

HEX#122F06
RGBrgb(18, 47, 6)
HSLhsl(102, 77%, 10%)
HSVhsv(102, 87%, 18%)
CMYKcmyk(61.7%, 0%, 87.2%, 81.6%)
CIE-LABlab(16.38, -20.03, 20.75)
CIE-LCHlch(16.38, 28.84, 133.98°)
OKLaboklab(27.25% -0.0553 0.0497)
OKLCHoklch(27.25% 0.074 138.1)
XYZxyz(1.2988, 2.1747, 0.5236)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F06 #23062F
analogous
#262F06 #122F06 #062F0E
triadic
#122F06 #06122F #2F0612
tetradic
#122F06 #06262F #23062F #2F0E06
square
#122F06 #06262F #23062F #2F0E06
split-complementary
#122F06 #0E062F #2F0626
monochromatic
#0A1B03 #0A1B03 #122F06 #27650D #3C9C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122F06#FFFFFF#000000##FFFFFF
##122F061.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)
#312A02
Deuteranopia (green-blind)
#2D280A
Tritanopia (blue-blind)
#102D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122f06;
/* rgb */ color: rgb(18, 47, 6);
/* oklch */ color: oklch(27.2% 0.074 138.1);
Tailwind
colors: {
  custom: {
    50: '#53684a',
    500: '#122f06',
    950: '#000000',
  },
}
SCSS
$custom: #122f06;
$custom-light: #53684a;
$custom-dark: #000000;
JSON
{
  "hex": "#122f06",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 102.439,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27247,
    "c": 0.07441,
    "h": 138.1
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#122F06
secondary
#592170
accent
#34F4BC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #122F06

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

Preview Lab → · Contrast checker → · Palette generator →

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