#124C27#124C27

#124C27 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.086 H 151.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#124C27
RGBrgb(18, 76, 39)
HSLhsl(142, 62%, 18%)
HSVhsv(142, 76%, 30%)
CMYKcmyk(76.3%, 0%, 48.7%, 70.2%)
CIE-LABlab(27.96, -28.05, 16.76)
CIE-LCHlch(27.96, 32.67, 149.14°)
OKLaboklab(36.95% -0.0756 0.0413)
OKLCHoklch(36.95% 0.086 151.4)
XYZxyz(3.1998, 5.4436, 2.8011)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C27 #4C1237
analogous
#1A4C12 #124C27 #124C44
triadic
#124C27 #27124C #4C2712
tetradic
#124C27 #121A4C #4C1237 #4C4412
square
#124C27 #121A4C #4C1237 #4C4412
split-complementary
#124C27 #44124C #4C121A
monochromatic
#06190D #061B0E #124C27 #1E7D40 #29AF5A

Accessibility & contrast

On white

10.05
#124C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C27
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C27#FFFFFF#000000##FFFFFF
##124C271.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4524
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c27;
/* rgb */ color: rgb(18, 76, 39);
/* oklch */ color: oklch(36.9% 0.086 151.4);
Tailwind
colors: {
  custom: {
    50: '#597f61',
    500: '#124c27',
    950: '#000000',
  },
}
SCSS
$custom: #124c27;
$custom-light: #597f61;
$custom-dark: #000000;
JSON
{
  "hex": "#124c27",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 39
  },
  "hsl": {
    "h": 141.724,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36947,
    "c": 0.08612,
    "h": 151.4
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#124C27
secondary
#853568
accent
#43AAE5
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124C27

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

Preview Lab → · Contrast checker → · Palette generator →

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