#124D1C#124D1C

#124D1C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.099 H 146.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#124D1C
RGBrgb(18, 77, 28)
HSLhsl(130, 62%, 19%)
HSVhsv(130, 77%, 30%)
CMYKcmyk(76.6%, 0%, 63.6%, 69.8%)
CIE-LABlab(28.17, -30.41, 23.38)
CIE-LCHlch(28.17, 38.36, 142.44°)
OKLaboklab(37.06% -0.0821 0.0554)
OKLCHoklch(37.06% 0.099 146)
XYZxyz(3.1127, 5.5199, 1.9998)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D1C #4D1243
analogous
#254D12 #124D1C #124D39
triadic
#124D1C #1C124D #4D1C12
tetradic
#124D1C #12254D #4D1243 #4D3912
square
#124D1C #12254D #4D1243 #4D3912
split-complementary
#124D1C #39124D #4D1225
monochromatic
#061909 #061B0A #124D1C #1E7F2E #29B040

Accessibility & contrast

On white

9.98
#124D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D1C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D1C#FFFFFF#000000##FFFFFF
##124D1C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#474120
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d1c;
/* rgb */ color: rgb(18, 77, 28);
/* oklch */ color: oklch(37.1% 0.099 146.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f5a',
    500: '#124d1c',
    950: '#000000',
  },
}
SCSS
$custom: #124d1c;
$custom-light: #5a7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#124d1c",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 28
  },
  "hsl": {
    "h": 130.169,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.09903,
    "h": 146
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#124D1C
secondary
#863578
accent
#43CAE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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