#122C08#122C08

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

Color values

HEX#122C08
RGBrgb(18, 44, 8)
HSLhsl(103, 69%, 10%)
HSVhsv(103, 82%, 17%)
CMYKcmyk(59.1%, 0%, 81.8%, 82.7%)
CIE-LABlab(15.21, -18.29, 18.46)
CIE-LCHlch(15.21, 25.99, 134.74°)
OKLaboklab(26.29% -0.0504 0.0451)
OKLCHoklch(26.29% 0.068 138.2)
XYZxyz(1.1939, 1.9474, 0.5427)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C08 #22082C
analogous
#242C08 #122C08 #082C10
triadic
#122C08 #08122C #2C0812
tetradic
#122C08 #08242C #22082C #2C1008
square
#122C08 #08242C #22082C #2C1008
split-complementary
#122C08 #10082C #2C0824
monochromatic
#0B1A05 #0B1A05 #122C08 #276011 #3C941B

Accessibility & contrast

On white

15.11
#122C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C08
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C08#FFFFFF#000000##FFFFFF
##122C081.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2704
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#102A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c08;
/* rgb */ color: rgb(18, 44, 8);
/* oklch */ color: oklch(26.3% 0.068 138.2);
Tailwind
colors: {
  custom: {
    50: '#52654a',
    500: '#122c08',
    950: '#000000',
  },
}
SCSS
$custom: #122c08;
$custom-light: #52654a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c08",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 103.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26292,
    "c": 0.06765,
    "h": 138.2
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#122C08
secondary
#57256B
accent
#3CECBB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #122C08

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

Preview Lab → · Contrast checker → · Palette generator →

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