#124E2C#124E2C

#124E2C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.084 H 153.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#124E2C
RGBrgb(18, 78, 44)
HSLhsl(146, 63%, 19%)
HSVhsv(146, 77%, 31%)
CMYKcmyk(76.9%, 0%, 43.6%, 69.4%)
CIE-LABlab(28.80, -27.88, 14.79)
CIE-LCHlch(28.80, 31.56, 152.05°)
OKLaboklab(37.66% -0.0753 0.0368)
OKLCHoklch(37.66% 0.084 153.9)
XYZxyz(3.4282, 5.7588, 3.3133)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E2C #4E1234
analogous
#164E12 #124E2C #124E4A
triadic
#124E2C #2C124E #4E2C12
tetradic
#124E2C #12164E #4E1234 #4E4A12
square
#124E2C #12164E #4E1234 #4E4A12
split-complementary
#124E2C #4A124E #4E1216
monochromatic
#06190E #071C10 #124E2C #1D8048 #29B164

Accessibility & contrast

On white

9.76
#124E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E2C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E2C#FFFFFF#000000##FFFFFF
##124E2C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#46422E
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e2c;
/* rgb */ color: rgb(18, 78, 44);
/* oklch */ color: oklch(37.7% 0.084 153.9);
Tailwind
colors: {
  custom: {
    50: '#598065',
    500: '#124e2c',
    950: '#000000',
  },
}
SCSS
$custom: #124e2c;
$custom-light: #598065;
$custom-dark: #000000;
JSON
{
  "hex": "#124e2c",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 146,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.08379,
    "h": 153.9
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#124E2C
secondary
#873563
accent
#429FE6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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