#122E08#122E08

#122E08 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.071 H 138.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#122E08
RGBrgb(18, 46, 8)
HSLhsl(104, 70%, 11%)
HSVhsv(104, 83%, 18%)
CMYKcmyk(60.9%, 0%, 82.6%, 82%)
CIE-LABlab(16.00, -19.29, 19.47)
CIE-LCHlch(16.00, 27.41, 134.74°)
OKLaboklab(26.95% -0.0532 0.0468)
OKLCHoklch(26.95% 0.071 138.6)
XYZxyz(1.2702, 2.1000, 0.5681)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E08 #24082E
analogous
#252E08 #122E08 #082E11
triadic
#122E08 #08122E #2E0812
tetradic
#122E08 #08252E #24082E #2E1108
square
#122E08 #08252E #24082E #2E1108
split-complementary
#122E08 #11082E #2E0825
monochromatic
#0A1A05 #0A1A05 #122E08 #266211 #3B961A

Accessibility & contrast

On white

14.79
#122E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E08
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E08#FFFFFF#000000##FFFFFF
##122E081.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#102C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122e08;
/* rgb */ color: rgb(18, 46, 8);
/* oklch */ color: oklch(26.9% 0.071 138.6);
Tailwind
colors: {
  custom: {
    50: '#53674a',
    500: '#122e08',
    950: '#000000',
  },
}
SCSS
$custom: #122e08;
$custom-light: #53674a;
$custom-dark: #000000;
JSON
{
  "hex": "#122e08",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 104.211,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26945,
    "c": 0.07086,
    "h": 138.6
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#122E08
secondary
#5A256D
accent
#3BEDBE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #122E08

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

Preview Lab → · Contrast checker → · Palette generator →

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