#124E26#124E26

#124E26 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.090 H 150.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#124E26
RGBrgb(18, 78, 38)
HSLhsl(140, 63%, 19%)
HSVhsv(140, 77%, 31%)
CMYKcmyk(76.9%, 0%, 51.3%, 69.4%)
CIE-LABlab(28.69, -29.11, 18.28)
CIE-LCHlch(28.69, 34.38, 147.87°)
OKLaboklab(37.54% -0.0784 0.0447)
OKLCHoklch(37.54% 0.09 150.3)
XYZxyz(3.3234, 5.7169, 2.7617)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E26 #4E123A
analogous
#1C4E12 #124E26 #124E44
triadic
#124E26 #26124E #4E2612
tetradic
#124E26 #121C4E #4E123A #4E4412
square
#124E26 #121C4E #4E123A #4E4412
split-complementary
#124E26 #44124E #4E121C
monochromatic
#06190C #071C0E #124E26 #1D803E #29B156

Accessibility & contrast

On white

9.80
#124E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E26
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E26#FFFFFF#000000##FFFFFF
##124E261.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4723
Deuteranopia (green-blind)
#474229
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e26;
/* rgb */ color: rgb(18, 78, 38);
/* oklch */ color: oklch(37.5% 0.090 150.3);
Tailwind
colors: {
  custom: {
    50: '#5a8061',
    500: '#124e26',
    950: '#000000',
  },
}
SCSS
$custom: #124e26;
$custom-light: #5a8061;
$custom-dark: #000000;
JSON
{
  "hex": "#124e26",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 38
  },
  "hsl": {
    "h": 140,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.09027,
    "h": 150.3
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#124E26
secondary
#87356C
accent
#42AFE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124E26

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

Preview Lab → · Contrast checker → · Palette generator →

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