#124A18#124A18

#124A18 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.098 H 144.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#124A18
RGBrgb(18, 74, 24)
HSLhsl(126, 61%, 18%)
HSVhsv(126, 76%, 29%)
CMYKcmyk(75.7%, 0%, 67.6%, 71%)
CIE-LABlab(26.99, -29.75, 24.18)
CIE-LCHlch(26.99, 38.34, 140.90°)
OKLaboklab(36.08% -0.0805 0.0568)
OKLCHoklch(36.08% 0.098 144.8)
XYZxyz(2.8629, 5.0918, 1.6959)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A18 #4A1244
analogous
#284A12 #124A18 #124A34
triadic
#124A18 #18124A #4A1812
tetradic
#124A18 #12284A #4A1244 #4A3412
square
#124A18 #12284A #4A1244 #4A3412
split-complementary
#124A18 #34124A #4A1228
monochromatic
#061908 #061908 #124A18 #1E7B28 #2AAC38

Accessibility & contrast

On white

10.40
#124A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A18
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A18#FFFFFF#000000##FFFFFF
##124A181.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4313
Deuteranopia (green-blind)
#453E1C
Tritanopia (blue-blind)
#02483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a18;
/* rgb */ color: rgb(18, 74, 24);
/* oklch */ color: oklch(36.1% 0.098 144.8);
Tailwind
colors: {
  custom: {
    50: '#597d57',
    500: '#124a18',
    950: '#000000',
  },
}
SCSS
$custom: #124a18;
$custom-light: #597d57;
$custom-dark: #000000;
JSON
{
  "hex": "#124a18",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 126.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.09847,
    "h": 144.8
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#124A18
secondary
#83357B
accent
#44D3E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124A18

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

Preview Lab → · Contrast checker → · Palette generator →

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