#124E2B#124E2B

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

Color values

HEX#124E2B
RGBrgb(18, 78, 43)
HSLhsl(145, 63%, 19%)
HSVhsv(145, 77%, 31%)
CMYKcmyk(76.9%, 0%, 44.9%, 69.4%)
CIE-LABlab(28.78, -28.10, 15.38)
CIE-LCHlch(28.78, 32.03, 151.31°)
OKLaboklab(37.64% -0.0758 0.0382)
OKLCHoklch(37.64% 0.085 153.3)
XYZxyz(3.4096, 5.7514, 3.2155)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E2B #4E1235
analogous
#174E12 #124E2B #124E49
triadic
#124E2B #2B124E #4E2B12
tetradic
#124E2B #12174E #4E1235 #4E4912
square
#124E2B #12174E #4E1235 #4E4912
split-complementary
#124E2B #49124E #4E1217
monochromatic
#06190E #071C10 #124E2B #1D8046 #29B162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124E2B#FFFFFF#000000##FFFFFF
##124E2B1.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)
#4E4729
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e2b;
/* rgb */ color: rgb(18, 78, 43);
/* oklch */ color: oklch(37.6% 0.085 153.3);
Tailwind
colors: {
  custom: {
    50: '#5a8064',
    500: '#124e2b',
    950: '#000000',
  },
}
SCSS
$custom: #124e2b;
$custom-light: #5a8064;
$custom-dark: #000000;
JSON
{
  "hex": "#124e2b",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 145,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37642,
    "c": 0.08488,
    "h": 153.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#124E2B
secondary
#873565
accent
#42A2E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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