#124C2B#124C2B

#124C2B is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.082 H 153.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#124C2B
RGBrgb(18, 76, 43)
HSLhsl(146, 62%, 18%)
HSVhsv(146, 76%, 30%)
CMYKcmyk(76.3%, 0%, 43.4%, 70.2%)
CIE-LABlab(28.04, -27.20, 14.41)
CIE-LCHlch(28.04, 30.78, 152.09°)
OKLaboklab(37.03% -0.0735 0.0359)
OKLCHoklch(37.03% 0.082 153.9)
XYZxyz(3.2697, 5.4715, 3.1688)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C2B #4C1233
analogous
#164C12 #124C2B #124C48
triadic
#124C2B #2B124C #4C2B12
tetradic
#124C2B #12164C #4C1233 #4C4812
square
#124C2B #12164C #4C1233 #4C4812
split-complementary
#124C2B #48124C #4C1216
monochromatic
#06190E #061B0F #124C2B #1E7D47 #29AF63

Accessibility & contrast

On white

10.03
#124C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C2B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C2B#FFFFFF#000000##FFFFFF
##124C2B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4529
Deuteranopia (green-blind)
#45402D
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c2b;
/* rgb */ color: rgb(18, 76, 43);
/* oklch */ color: oklch(37.0% 0.082 153.9);
Tailwind
colors: {
  custom: {
    50: '#597f64',
    500: '#124c2b',
    950: '#000000',
  },
}
SCSS
$custom: #124c2b;
$custom-light: #597f64;
$custom-dark: #000000;
JSON
{
  "hex": "#124c2b",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 43
  },
  "hsl": {
    "h": 145.862,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37034,
    "c": 0.08177,
    "h": 153.9
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#124C2B
secondary
#853562
accent
#439FE5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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