#124A1F#124A1F

#124A1F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.092 H 147.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#124A1F
RGBrgb(18, 74, 31)
HSLhsl(134, 61%, 18%)
HSVhsv(134, 76%, 29%)
CMYKcmyk(75.7%, 0%, 58.1%, 71%)
CIE-LABlab(27.09, -28.67, 20.40)
CIE-LCHlch(27.09, 35.19, 144.57°)
OKLaboklab(36.18% -0.0773 0.0491)
OKLCHoklch(36.18% 0.092 147.6)
XYZxyz(2.9453, 5.1248, 2.1300)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A1F #4A123D
analogous
#214A12 #124A1F #124A3B
triadic
#124A1F #1F124A #4A1F12
tetradic
#124A1F #12214A #4A123D #4A3B12
square
#124A1F #12214A #4A123D #4A3B12
split-complementary
#124A1F #3B124A #4A1221
monochromatic
#06190A #06190A #124A1F #1E7B34 #2AAC48

Accessibility & contrast

On white

10.37
#124A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A1F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A1F#FFFFFF#000000##FFFFFF
##124A1F1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a1f;
/* rgb */ color: rgb(18, 74, 31);
/* oklch */ color: oklch(36.2% 0.092 147.6);
Tailwind
colors: {
  custom: {
    50: '#597d5c',
    500: '#124a1f',
    950: '#000000',
  },
}
SCSS
$custom: #124a1f;
$custom-light: #597d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#124a1f",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 133.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.09157,
    "h": 147.6
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#124A1F
secondary
#833571
accent
#44BFE4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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