#124A1E#124A1E

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

Color values

HEX#124A1E
RGBrgb(18, 74, 30)
HSLhsl(133, 61%, 18%)
HSVhsv(133, 76%, 29%)
CMYKcmyk(75.7%, 0%, 59.5%, 71%)
CIE-LABlab(27.07, -28.84, 20.96)
CIE-LCHlch(27.07, 35.65, 144.00°)
OKLaboklab(36.17% -0.0778 0.0503)
OKLCHoklch(36.17% 0.093 147.1)
XYZxyz(2.9324, 5.1196, 2.0617)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A1E #4A123E
analogous
#224A12 #124A1E #124A3A
triadic
#124A1E #1E124A #4A1E12
tetradic
#124A1E #12224A #4A123E #4A3A12
square
#124A1E #12224A #4A123E #4A3A12
split-complementary
#124A1E #3A124A #4A1222
monochromatic
#06190A #06190A #124A1E #1E7B32 #2AAC46

Accessibility & contrast

On white

10.38
#124A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A1E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A1E#FFFFFF#000000##FFFFFF
##124A1E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a1e;
/* rgb */ color: rgb(18, 74, 30);
/* oklch */ color: oklch(36.2% 0.093 147.1);
Tailwind
colors: {
  custom: {
    50: '#597d5b',
    500: '#124a1e',
    950: '#000000',
  },
}
SCSS
$custom: #124a1e;
$custom-light: #597d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#124a1e",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 132.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36165,
    "c": 0.09261,
    "h": 147.1
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#124A1E
secondary
#833572
accent
#44C2E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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