#122C05#122C05

#122C05 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.3% C 0.071 H 137.0°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#122C05
RGBrgb(18, 44, 5)
HSLhsl(100, 80%, 10%)
HSVhsv(100, 89%, 17%)
CMYKcmyk(59.1%, 0%, 88.6%, 82.7%)
CIE-LABlab(15.17, -18.67, 19.64)
CIE-LCHlch(15.17, 27.10, 133.56°)
OKLaboklab(26.25% -0.0518 0.0483)
OKLCHoklch(26.25% 0.071 137)
XYZxyz(1.1775, 1.9408, 0.4561)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C05 #1F052C
analogous
#262C05 #122C05 #052C0C
triadic
#122C05 #05122C #2C0512
tetradic
#122C05 #05262C #1F052C #2C0C05
square
#122C05 #05262C #1F052C #2C0C05
split-complementary
#122C05 #0C052C #2C0526
monochromatic
#0B1B03 #0B1B03 #122C05 #28630B #3F9A11

Accessibility & contrast

On white

15.13
#122C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C05
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C05#FFFFFF#000000##FFFFFF
##122C051.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2701
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#102A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c05;
/* rgb */ color: rgb(18, 44, 5);
/* oklch */ color: oklch(26.3% 0.071 137.0);
Tailwind
colors: {
  custom: {
    50: '#526549',
    500: '#122c05',
    950: '#000000',
  },
}
SCSS
$custom: #122c05;
$custom-light: #526549;
$custom-dark: #000000;
JSON
{
  "hex": "#122c05",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 100,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26252,
    "c": 0.07085,
    "h": 137
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#122C05
secondary
#531F6E
accent
#32F6B5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #122C05

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

Preview Lab → · Contrast checker → · Palette generator →

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