#124C2A#124C2A

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

Color values

HEX#124C2A
RGBrgb(18, 76, 42)
HSLhsl(145, 62%, 18%)
HSVhsv(145, 76%, 30%)
CMYKcmyk(76.3%, 0%, 44.7%, 70.2%)
CIE-LABlab(28.02, -27.42, 15.00)
CIE-LCHlch(28.02, 31.26, 151.32°)
OKLaboklab(37.01% -0.074 0.0373)
OKLCHoklch(37.01% 0.083 153.3)
XYZxyz(3.2515, 5.4643, 3.0734)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C2A #4C1234
analogous
#174C12 #124C2A #124C47
triadic
#124C2A #2A124C #4C2A12
tetradic
#124C2A #12174C #4C1234 #4C4712
square
#124C2A #12174C #4C1234 #4C4712
split-complementary
#124C2A #47124C #4C1217
monochromatic
#06190E #061B0F #124C2A #1E7D45 #29AF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124C2A#FFFFFF#000000##FFFFFF
##124C2A1.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)
#4C4528
Deuteranopia (green-blind)
#45402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c2a;
/* rgb */ color: rgb(18, 76, 42);
/* oklch */ color: oklch(37.0% 0.083 153.3);
Tailwind
colors: {
  custom: {
    50: '#597f64',
    500: '#124c2a',
    950: '#000000',
  },
}
SCSS
$custom: #124c2a;
$custom-light: #597f64;
$custom-dark: #000000;
JSON
{
  "hex": "#124c2a",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 144.828,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.08285,
    "h": 153.3
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#124C2A
secondary
#853564
accent
#43A2E5
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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