#124E28#124E28

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

Color values

HEX#124E28
RGBrgb(18, 78, 40)
HSLhsl(142, 63%, 19%)
HSVhsv(142, 77%, 31%)
CMYKcmyk(76.9%, 0%, 48.7%, 69.4%)
CIE-LABlab(28.72, -28.72, 17.13)
CIE-LCHlch(28.72, 33.44, 149.19°)
OKLaboklab(37.58% -0.0774 0.0422)
OKLCHoklch(37.58% 0.088 151.4)
XYZxyz(3.3566, 5.7302, 2.9362)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E28 #4E1238
analogous
#1A4E12 #124E28 #124E46
triadic
#124E28 #28124E #4E2812
tetradic
#124E28 #121A4E #4E1238 #4E4612
square
#124E28 #121A4E #4E1238 #4E4612
split-complementary
#124E28 #46124E #4E121A
monochromatic
#06190D #071C0F #124E28 #1D8042 #29B15B

Accessibility & contrast

On white

9.78
#124E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E28
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E28#FFFFFF#000000##FFFFFF
##124E281.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124e28;
/* rgb */ color: rgb(18, 78, 40);
/* oklch */ color: oklch(37.6% 0.088 151.4);
Tailwind
colors: {
  custom: {
    50: '#5a8062',
    500: '#124e28',
    950: '#000000',
  },
}
SCSS
$custom: #124e28;
$custom-light: #5a8062;
$custom-dark: #000000;
JSON
{
  "hex": "#124e28",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 142,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.08812,
    "h": 151.4
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#124E28
secondary
#873569
accent
#42AAE6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124E28

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

Preview Lab → · Contrast checker → · Palette generator →

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