#124F1E#124F1E

#124F1E is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.100 H 146.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#124F1E
RGBrgb(18, 79, 30)
HSLhsl(132, 63%, 19%)
HSVhsv(132, 77%, 31%)
CMYKcmyk(77.2%, 0%, 62%, 69%)
CIE-LABlab(28.94, -30.92, 23.19)
CIE-LCHlch(28.94, 38.65, 143.13°)
OKLaboklab(37.71% -0.0834 0.0552)
OKLCHoklch(37.71% 0.1 146.5)
XYZxyz(3.2795, 5.8139, 2.1774)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F1E #4F1243
analogous
#254F12 #124F1E #124F3D
triadic
#124F1E #1E124F #4F1E12
tetradic
#124F1E #12254F #4F1243 #4F3D12
square
#124F1E #12254F #4F1243 #4F3D12
split-complementary
#124F1E #3D124F #4F1225
monochromatic
#061909 #071D0B #124F1E #1D8131 #29B344

Accessibility & contrast

On white

9.71
#124F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F1E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F1E#FFFFFF#000000##FFFFFF
##124F1E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#494222
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f1e;
/* rgb */ color: rgb(18, 79, 30);
/* oklch */ color: oklch(37.7% 0.100 146.5);
Tailwind
colors: {
  custom: {
    50: '#5a815b',
    500: '#124f1e',
    950: '#000000',
  },
}
SCSS
$custom: #124f1e;
$custom-light: #5a815b;
$custom-dark: #000000;
JSON
{
  "hex": "#124f1e",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 30
  },
  "hsl": {
    "h": 131.803,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.09999,
    "h": 146.5
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#124F1E
secondary
#883578
accent
#42C6E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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