#124E1C#124E1C

#124E1C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.100 H 145.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#124E1C
RGBrgb(18, 78, 28)
HSLhsl(130, 63%, 19%)
HSVhsv(130, 77%, 31%)
CMYKcmyk(76.9%, 0%, 64.1%, 69.4%)
CIE-LABlab(28.54, -30.82, 23.82)
CIE-LCHlch(28.54, 38.95, 142.30°)
OKLaboklab(37.37% -0.0832 0.0564)
OKLCHoklch(37.37% 0.1 145.9)
XYZxyz(3.1832, 5.6609, 2.0233)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1C #4E1244
analogous
#264E12 #124E1C #124E3A
triadic
#124E1C #1C124E #4E1C12
tetradic
#124E1C #12264E #4E1244 #4E3A12
square
#124E1C #12264E #4E1244 #4E3A12
split-complementary
#124E1C #3A124E #4E1226
monochromatic
#061909 #071C0A #124E1C #1D802E #29B140

Accessibility & contrast

On white

9.85
#124E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E1C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E1C#FFFFFF#000000##FFFFFF
##124E1C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#484120
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1c;
/* rgb */ color: rgb(18, 78, 28);
/* oklch */ color: oklch(37.4% 0.100 145.9);
Tailwind
colors: {
  custom: {
    50: '#5a805a',
    500: '#124e1c',
    950: '#000000',
  },
}
SCSS
$custom: #124e1c;
$custom-light: #5a805a;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1c",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 130,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.10048,
    "h": 145.9
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#124E1C
secondary
#873579
accent
#42CAE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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