#124A1C#124A1C

#124A1C is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.095 H 146.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#124A1C
RGBrgb(18, 74, 28)
HSLhsl(131, 61%, 18%)
HSVhsv(131, 76%, 29%)
CMYKcmyk(75.7%, 0%, 62.2%, 71%)
CIE-LABlab(27.05, -29.16, 22.06)
CIE-LCHlch(27.05, 36.56, 142.90°)
OKLaboklab(36.13% -0.0787 0.0525)
OKLCHoklch(36.13% 0.095 146.3)
XYZxyz(2.9076, 5.1097, 1.9314)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A1C #4A1240
analogous
#244A12 #124A1C #124A38
triadic
#124A1C #1C124A #4A1C12
tetradic
#124A1C #12244A #4A1240 #4A3812
square
#124A1C #12244A #4A1240 #4A3812
split-complementary
#124A1C #38124A #4A1224
monochromatic
#061909 #061909 #124A1C #1E7B2F #2AAC41

Accessibility & contrast

On white

10.39
#124A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A1C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A1C#FFFFFF#000000##FFFFFF
##124A1C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4318
Deuteranopia (green-blind)
#443E20
Tritanopia (blue-blind)
#014840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a1c;
/* rgb */ color: rgb(18, 74, 28);
/* oklch */ color: oklch(36.1% 0.095 146.3);
Tailwind
colors: {
  custom: {
    50: '#597d59',
    500: '#124a1c',
    950: '#000000',
  },
}
SCSS
$custom: #124a1c;
$custom-light: #597d59;
$custom-dark: #000000;
JSON
{
  "hex": "#124a1c",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 28
  },
  "hsl": {
    "h": 130.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.09463,
    "h": 146.3
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#124A1C
secondary
#833575
accent
#44C7E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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