#124F28#124F28

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

Color values

HEX#124F28
RGBrgb(18, 79, 40)
HSLhsl(142, 63%, 19%)
HSVhsv(142, 77%, 31%)
CMYKcmyk(77.2%, 0%, 49.4%, 69%)
CIE-LABlab(29.09, -29.16, 17.61)
CIE-LCHlch(29.09, 34.06, 148.88°)
OKLaboklab(37.88% -0.0785 0.0433)
OKLCHoklch(37.88% 0.09 151.1)
XYZxyz(3.4282, 5.8734, 2.9601)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F28 #4F1239
analogous
#1B4F12 #124F28 #124F47
triadic
#124F28 #28124F #4F2812
tetradic
#124F28 #121B4F #4F1239 #4F4712
square
#124F28 #121B4F #4F1239 #4F4712
split-complementary
#124F28 #47124F #4F121B
monochromatic
#06190D #071D0F #124F28 #1D8141 #29B35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124F28#FFFFFF#000000##FFFFFF
##124F281.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)
#4F4825
Deuteranopia (green-blind)
#48422B
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f28;
/* rgb */ color: rgb(18, 79, 40);
/* oklch */ color: oklch(37.9% 0.090 151.1);
Tailwind
colors: {
  custom: {
    50: '#5a8162',
    500: '#124f28',
    950: '#000000',
  },
}
SCSS
$custom: #124f28;
$custom-light: #5a8162;
$custom-dark: #000000;
JSON
{
  "hex": "#124f28",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 141.639,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.08965,
    "h": 151.1
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#124F28
secondary
#88356A
accent
#42ABE6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124F28

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

Preview Lab → · Contrast checker → · Palette generator →

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