#124C1F#124C1F

#124C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.095 H 147.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#124C1F
RGBrgb(18, 76, 31)
HSLhsl(133, 62%, 18%)
HSVhsv(133, 76%, 30%)
CMYKcmyk(76.3%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.83, -29.52, 21.31)
CIE-LCHlch(27.83, 36.41, 144.17°)
OKLaboklab(36.8% -0.0796 0.0511)
OKLCHoklch(36.8% 0.095 147.3)
XYZxyz(3.0810, 5.3961, 2.1752)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1F #4C123F
analogous
#224C12 #124C1F #124C3C
triadic
#124C1F #1F124C #4C1F12
tetradic
#124C1F #12224C #4C123F #4C3C12
square
#124C1F #12224C #4C123F #4C3C12
split-complementary
#124C1F #3C124C #4C1222
monochromatic
#06190A #061B0B #124C1F #1E7D33 #29AF47

Accessibility & contrast

On white

10.10
#124C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C1F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C1F#FFFFFF#000000##FFFFFF
##124C1F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1f;
/* rgb */ color: rgb(18, 76, 31);
/* oklch */ color: oklch(36.8% 0.095 147.3);
Tailwind
colors: {
  custom: {
    50: '#597f5c',
    500: '#124c1f',
    950: '#000000',
  },
}
SCSS
$custom: #124c1f;
$custom-light: #597f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 133.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.09458,
    "h": 147.3
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#124C1F
secondary
#853573
accent
#43C1E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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