#124A27#124A27

#124A27 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.083 H 151.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#124A27
RGBrgb(18, 74, 39)
HSLhsl(143, 61%, 18%)
HSVhsv(143, 76%, 29%)
CMYKcmyk(75.7%, 0%, 47.3%, 71%)
CIE-LABlab(27.22, -27.16, 15.80)
CIE-LCHlch(27.22, 31.42, 149.82°)
OKLaboklab(36.34% -0.0732 0.039)
OKLCHoklch(36.34% 0.083 151.9)
XYZxyz(3.0642, 5.1723, 2.7559)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A27 #4A1235
analogous
#194A12 #124A27 #124A43
triadic
#124A27 #27124A #4A2712
tetradic
#124A27 #12194A #4A1235 #4A4312
square
#124A27 #12194A #4A1235 #4A4312
split-complementary
#124A27 #43124A #4A1219
monochromatic
#06190D #06190D #124A27 #1E7B41 #2AAC5B

Accessibility & contrast

On white

10.32
#124A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A27
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A27#FFFFFF#000000##FFFFFF
##124A271.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4324
Deuteranopia (green-blind)
#433E29
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a27;
/* rgb */ color: rgb(18, 74, 39);
/* oklch */ color: oklch(36.3% 0.083 151.9);
Tailwind
colors: {
  custom: {
    50: '#597d61',
    500: '#124a27',
    950: '#000000',
  },
}
SCSS
$custom: #124a27;
$custom-light: #597d61;
$custom-dark: #000000;
JSON
{
  "hex": "#124a27",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 39
  },
  "hsl": {
    "h": 142.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36335,
    "c": 0.08299,
    "h": 151.9
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#124A27
secondary
#833566
accent
#44A8E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124A27

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

Preview Lab → · Contrast checker → · Palette generator →

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