#122F08#122F08

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

Color values

HEX#122F08
RGBrgb(18, 47, 8)
HSLhsl(105, 71%, 11%)
HSVhsv(105, 83%, 18%)
CMYKcmyk(61.7%, 0%, 83%, 81.6%)
CIE-LABlab(16.40, -19.79, 19.96)
CIE-LCHlch(16.40, 28.11, 134.75°)
OKLaboklab(27.27% -0.0545 0.0477)
OKLCHoklch(27.27% 0.072 138.8)
XYZxyz(1.3097, 2.1791, 0.5813)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F08 #25082F
analogous
#252F08 #122F08 #082F11
triadic
#122F08 #08122F #2F0812
tetradic
#122F08 #08252F #25082F #2F1108
square
#122F08 #08252F #25082F #2F1108
split-complementary
#122F08 #11082F #2F0825
monochromatic
#0A1A04 #0A1A04 #122F08 #266311 #3A981A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122F08#FFFFFF#000000##FFFFFF
##122F081.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)
#312A04
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#102D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122f08;
/* rgb */ color: rgb(18, 47, 8);
/* oklch */ color: oklch(27.3% 0.072 138.8);
Tailwind
colors: {
  custom: {
    50: '#53684a',
    500: '#122f08',
    950: '#000000',
  },
}
SCSS
$custom: #122f08;
$custom-light: #53684a;
$custom-dark: #000000;
JSON
{
  "hex": "#122f08",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 104.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27271,
    "c": 0.07244,
    "h": 138.8
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#122F08
secondary
#5B256E
accent
#3AEEC0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #122F08

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

Preview Lab → · Contrast checker → · Palette generator →

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