#124E1F#124E1F

#124E1F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.098 H 147.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#124E1F
RGBrgb(18, 78, 31)
HSLhsl(133, 63%, 19%)
HSVhsv(133, 77%, 31%)
CMYKcmyk(76.9%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.58, -30.35, 22.21)
CIE-LCHlch(28.58, 37.61, 143.81°)
OKLaboklab(37.42% -0.0818 0.0531)
OKLCHoklch(37.42% 0.098 147)
XYZxyz(3.2209, 5.6760, 2.2219)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1F #4E1241
analogous
#234E12 #124E1F #124E3D
triadic
#124E1F #1F124E #4E1F12
tetradic
#124E1F #12234E #4E1241 #4E3D12
square
#124E1F #12234E #4E1241 #4E3D12
split-complementary
#124E1F #3D124E #4E1223
monochromatic
#06190A #071C0B #124E1F #1D8033 #29B147

Accessibility & contrast

On white

9.84
#124E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E1F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E1F#FFFFFF#000000##FFFFFF
##124E1F1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#484123
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1f;
/* rgb */ color: rgb(18, 78, 31);
/* oklch */ color: oklch(37.4% 0.098 147.0);
Tailwind
colors: {
  custom: {
    50: '#5a805c',
    500: '#124e1f',
    950: '#000000',
  },
}
SCSS
$custom: #124e1f;
$custom-light: #5a805c;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1f",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 133,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.09754,
    "h": 147
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#124E1F
secondary
#873575
accent
#42C2E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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