#124E1A#124E1A

#124E1A is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.3% C 0.102 H 145.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#124E1A
RGBrgb(18, 78, 26)
HSLhsl(128, 63%, 19%)
HSVhsv(128, 77%, 31%)
CMYKcmyk(76.9%, 0%, 66.7%, 69.4%)
CIE-LABlab(28.52, -31.10, 24.86)
CIE-LCHlch(28.52, 39.82, 141.36°)
OKLaboklab(37.34% -0.084 0.0584)
OKLCHoklch(37.34% 0.102 145.2)
XYZxyz(3.1601, 5.6516, 1.9014)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1A #4E1246
analogous
#284E12 #124E1A #124E38
triadic
#124E1A #1A124E #4E1A12
tetradic
#124E1A #12284E #4E1246 #4E3812
square
#124E1A #12284E #4E1246 #4E3812
split-complementary
#124E1A #38124E #4E1228
monochromatic
#061908 #071C09 #124E1A #1D802B #29B13B

Accessibility & contrast

On white

9.86
#124E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E1A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E1A#FFFFFF#000000##FFFFFF
##124E1A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4614
Deuteranopia (green-blind)
#48411E
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1a;
/* rgb */ color: rgb(18, 78, 26);
/* oklch */ color: oklch(37.3% 0.102 145.2);
Tailwind
colors: {
  custom: {
    50: '#5a8058',
    500: '#124e1a',
    950: '#000000',
  },
}
SCSS
$custom: #124e1a;
$custom-light: #5a8058;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1a",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 128,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.10235,
    "h": 145.2
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#124E1A
secondary
#87357C
accent
#42D0E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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