#122F04#122F04

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

Color values

HEX#122F04
RGBrgb(18, 47, 4)
HSLhsl(100, 84%, 10%)
HSVhsv(100, 91%, 18%)
CMYKcmyk(61.7%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.36, -20.27, 21.54)
CIE-LCHlch(16.36, 29.58, 133.26°)
OKLaboklab(27.22% -0.0562 0.0518)
OKLCHoklch(27.22% 0.076 137.3)
XYZxyz(1.2878, 2.1703, 0.4659)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F04 #21042F
analogous
#282F04 #122F04 #042F0B
triadic
#122F04 #04122F #2F0412
tetradic
#122F04 #04282F #21042F #2F0B04
square
#122F04 #04282F #21042F #2F0B04
split-complementary
#122F04 #0B042F #2F0428
monochromatic
#0B1C02 #0B1C02 #122F04 #286709 #3DA00E

Accessibility & contrast

On white

14.64
#122F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F04
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F04#FFFFFF#000000##FFFFFF
##122F041.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122f04;
/* rgb */ color: rgb(18, 47, 4);
/* oklch */ color: oklch(27.2% 0.076 137.3);
Tailwind
colors: {
  custom: {
    50: '#536849',
    500: '#122f04',
    950: '#000000',
  },
}
SCSS
$custom: #122f04;
$custom-light: #536849;
$custom-dark: #000000;
JSON
{
  "hex": "#122f04",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 100.465,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27222,
    "c": 0.07645,
    "h": 137.3
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#122F04
secondary
#561D72
accent
#2DFBB8
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #122F04

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

Preview Lab → · Contrast checker → · Palette generator →

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