#124F27#124F27

#124F27 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.091 H 150.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#124F27
RGBrgb(18, 79, 39)
HSLhsl(141, 63%, 19%)
HSVhsv(141, 77%, 31%)
CMYKcmyk(77.2%, 0%, 50.6%, 69%)
CIE-LABlab(29.07, -29.35, 18.18)
CIE-LCHlch(29.07, 34.53, 148.23°)
OKLaboklab(37.86% -0.079 0.0446)
OKLCHoklch(37.86% 0.091 150.6)
XYZxyz(3.4114, 5.8667, 2.8717)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F27 #4F123A
analogous
#1C4F12 #124F27 #124F46
triadic
#124F27 #27124F #4F2712
tetradic
#124F27 #121C4F #4F123A #4F4612
square
#124F27 #121C4F #4F123A #4F4612
split-complementary
#124F27 #46124F #4F121C
monochromatic
#06190C #071D0E #124F27 #1D8140 #29B358

Accessibility & contrast

On white

9.66
#124F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F27
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F27#FFFFFF#000000##FFFFFF
##124F271.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4824
Deuteranopia (green-blind)
#48422A
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f27;
/* rgb */ color: rgb(18, 79, 39);
/* oklch */ color: oklch(37.9% 0.091 150.6);
Tailwind
colors: {
  custom: {
    50: '#5a8162',
    500: '#124f27',
    950: '#000000',
  },
}
SCSS
$custom: #124f27;
$custom-light: #5a8162;
$custom-dark: #000000;
JSON
{
  "hex": "#124f27",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 39
  },
  "hsl": {
    "h": 140.656,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.09072,
    "h": 150.6
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#124F27
secondary
#88356B
accent
#42ADE6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124F27

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

Preview Lab → · Contrast checker → · Palette generator →

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