#124A24#124A24

#124A24 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.086 H 150.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#124A24
RGBrgb(18, 74, 36)
HSLhsl(139, 61%, 18%)
HSVhsv(139, 76%, 29%)
CMYKcmyk(75.7%, 0%, 51.4%, 71%)
CIE-LABlab(27.17, -27.76, 17.55)
CIE-LCHlch(27.17, 32.84, 147.70°)
OKLaboklab(36.27% -0.0748 0.043)
OKLCHoklch(36.27% 0.086 150.1)
XYZxyz(3.0164, 5.1532, 2.5044)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A24 #4A1238
analogous
#1C4A12 #124A24 #124A40
triadic
#124A24 #24124A #4A2412
tetradic
#124A24 #121C4A #4A1238 #4A4012
square
#124A24 #121C4A #4A1238 #4A4012
split-complementary
#124A24 #40124A #4A121C
monochromatic
#06190C #06190C #124A24 #1E7B3C #2AAC54

Accessibility & contrast

On white

10.34
#124A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A24
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A24#FFFFFF#000000##FFFFFF
##124A241.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4321
Deuteranopia (green-blind)
#443E27
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a24;
/* rgb */ color: rgb(18, 74, 36);
/* oklch */ color: oklch(36.3% 0.086 150.1);
Tailwind
colors: {
  custom: {
    50: '#597d5f',
    500: '#124a24',
    950: '#000000',
  },
}
SCSS
$custom: #124a24;
$custom-light: #597d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#124a24",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 36
  },
  "hsl": {
    "h": 139.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.08626,
    "h": 150.1
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#124A24
secondary
#83356A
accent
#44B1E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124A24

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

Preview Lab → · Contrast checker → · Palette generator →

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