#124E2A#124E2A

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

Color values

HEX#124E2A
RGBrgb(18, 78, 42)
HSLhsl(144, 63%, 19%)
HSVhsv(144, 77%, 31%)
CMYKcmyk(76.9%, 0%, 46.2%, 69.4%)
CIE-LABlab(28.76, -28.31, 15.97)
CIE-LCHlch(28.76, 32.50, 150.58°)
OKLaboklab(37.62% -0.0763 0.0395)
OKLCHoklch(37.62% 0.086 152.6)
XYZxyz(3.3915, 5.7442, 3.1200)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E2A #4E1236
analogous
#184E12 #124E2A #124E48
triadic
#124E2A #2A124E #4E2A12
tetradic
#124E2A #12184E #4E1236 #4E4812
square
#124E2A #12184E #4E1236 #4E4812
split-complementary
#124E2A #48124E #4E1218
monochromatic
#06190D #071C0F #124E2A #1D8045 #29B160

Accessibility & contrast

On white

9.77
#124E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E2A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E2A#FFFFFF#000000##FFFFFF
##124E2A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124e2a;
/* rgb */ color: rgb(18, 78, 42);
/* oklch */ color: oklch(37.6% 0.086 152.6);
Tailwind
colors: {
  custom: {
    50: '#5a8064',
    500: '#124e2a',
    950: '#000000',
  },
}
SCSS
$custom: #124e2a;
$custom-light: #5a8064;
$custom-dark: #000000;
JSON
{
  "hex": "#124e2a",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 144,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.08596,
    "h": 152.6
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#124E2A
secondary
#873566
accent
#42A4E6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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