#124D2C#124D2C

#124D2C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.082 H 154.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#124D2C
RGBrgb(18, 77, 44)
HSLhsl(146, 62%, 19%)
HSVhsv(146, 77%, 30%)
CMYKcmyk(76.6%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.43, -27.43, 14.31)
CIE-LCHlch(28.43, 30.94, 152.46°)
OKLaboklab(37.36% -0.0741 0.0357)
OKLCHoklch(37.36% 0.082 154.3)
XYZxyz(3.3577, 5.6178, 3.2898)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D2C #4D1233
analogous
#154D12 #124D2C #124D49
triadic
#124D2C #2C124D #4D2C12
tetradic
#124D2C #12154D #4D1233 #4D4912
square
#124D2C #12154D #4D1233 #4D4912
split-complementary
#124D2C #49124D #4D1215
monochromatic
#06190E #061B10 #124D2C #1E7F48 #29B065

Accessibility & contrast

On white

9.89
#124D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D2C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D2C#FFFFFF#000000##FFFFFF
##124D2C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#45412E
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d2c;
/* rgb */ color: rgb(18, 77, 44);
/* oklch */ color: oklch(37.4% 0.082 154.3);
Tailwind
colors: {
  custom: {
    50: '#597f65',
    500: '#124d2c',
    950: '#000000',
  },
}
SCSS
$custom: #124d2c;
$custom-light: #597f65;
$custom-dark: #000000;
JSON
{
  "hex": "#124d2c",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 146.441,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37361,
    "c": 0.08224,
    "h": 154.3
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#124D2C
secondary
#863562
accent
#439EE5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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