#124E27#124E27

#124E27 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.089 H 150.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#124E27
RGBrgb(18, 78, 39)
HSLhsl(141, 63%, 19%)
HSVhsv(141, 77%, 31%)
CMYKcmyk(76.9%, 0%, 50%, 69.4%)
CIE-LABlab(28.70, -28.92, 17.71)
CIE-LCHlch(28.70, 33.91, 148.52°)
OKLaboklab(37.56% -0.0779 0.0435)
OKLCHoklch(37.56% 0.089 150.8)
XYZxyz(3.3398, 5.7235, 2.8478)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E27 #4E1239
analogous
#1B4E12 #124E27 #124E45
triadic
#124E27 #27124E #4E2712
tetradic
#124E27 #121B4E #4E1239 #4E4512
square
#124E27 #121B4E #4E1239 #4E4512
split-complementary
#124E27 #45124E #4E121B
monochromatic
#06190C #071C0E #124E27 #1D8040 #29B159

Accessibility & contrast

On white

9.79
#124E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E27
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E27#FFFFFF#000000##FFFFFF
##124E271.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4724
Deuteranopia (green-blind)
#47422A
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e27;
/* rgb */ color: rgb(18, 78, 39);
/* oklch */ color: oklch(37.6% 0.089 150.8);
Tailwind
colors: {
  custom: {
    50: '#5a8061',
    500: '#124e27',
    950: '#000000',
  },
}
SCSS
$custom: #124e27;
$custom-light: #5a8061;
$custom-dark: #000000;
JSON
{
  "hex": "#124e27",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 141,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.0892,
    "h": 150.8
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#124E27
secondary
#87356A
accent
#42ACE6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124E27

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

Preview Lab → · Contrast checker → · Palette generator →

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