#124A22#124A22

#124A22 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.088 H 149.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#124A22
RGBrgb(18, 74, 34)
HSLhsl(137, 61%, 18%)
HSVhsv(137, 76%, 29%)
CMYKcmyk(75.7%, 0%, 54.1%, 71%)
CIE-LABlab(27.13, -28.14, 18.70)
CIE-LCHlch(27.13, 33.79, 146.39°)
OKLaboklab(36.24% -0.0758 0.0455)
OKLCHoklch(36.24% 0.088 149)
XYZxyz(2.9867, 5.1413, 2.3480)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A22 #4A123A
analogous
#1E4A12 #124A22 #124A3E
triadic
#124A22 #22124A #4A2212
tetradic
#124A22 #121E4A #4A123A #4A3E12
square
#124A22 #121E4A #4A123A #4A3E12
split-complementary
#124A22 #3E124A #4A121E
monochromatic
#06190B #06190B #124A22 #1E7B39 #2AAC4F

Accessibility & contrast

On white

10.35
#124A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A22
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A22#FFFFFF#000000##FFFFFF
##124A221.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431F
Deuteranopia (green-blind)
#443E25
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a22;
/* rgb */ color: rgb(18, 74, 34);
/* oklch */ color: oklch(36.2% 0.088 149.0);
Tailwind
colors: {
  custom: {
    50: '#597d5e',
    500: '#124a22',
    950: '#000000',
  },
}
SCSS
$custom: #124a22;
$custom-light: #597d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124a22",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 34
  },
  "hsl": {
    "h": 137.143,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.08842,
    "h": 149
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#124A22
secondary
#83356D
accent
#44B6E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124A22

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

Preview Lab → · Contrast checker → · Palette generator →

#124A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva