#124C24#124C24

#124C24 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.089 H 149.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#124C24
RGBrgb(18, 76, 36)
HSLhsl(139, 62%, 18%)
HSVhsv(139, 76%, 30%)
CMYKcmyk(76.3%, 0%, 52.6%, 70.2%)
CIE-LABlab(27.91, -28.63, 18.49)
CIE-LCHlch(27.91, 34.08, 147.14°)
OKLaboklab(36.89% -0.0771 0.0451)
OKLCHoklch(36.89% 0.089 149.7)
XYZxyz(3.1521, 5.4245, 2.5496)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C24 #4C123A
analogous
#1D4C12 #124C24 #124C41
triadic
#124C24 #24124C #4C2412
tetradic
#124C24 #121D4C #4C123A #4C4112
square
#124C24 #121D4C #4C123A #4C4112
split-complementary
#124C24 #41124C #4C121D
monochromatic
#06190C #061B0D #124C24 #1E7D3B #29AF53

Accessibility & contrast

On white

10.07
#124C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C24
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C24#FFFFFF#000000##FFFFFF
##124C241.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4521
Deuteranopia (green-blind)
#464027
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c24;
/* rgb */ color: rgb(18, 76, 36);
/* oklch */ color: oklch(36.9% 0.089 149.7);
Tailwind
colors: {
  custom: {
    50: '#597f5f',
    500: '#124c24',
    950: '#000000',
  },
}
SCSS
$custom: #124c24;
$custom-light: #597f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#124c24",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 36
  },
  "hsl": {
    "h": 138.621,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.08935,
    "h": 149.7
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#124C24
secondary
#85356C
accent
#43B3E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C24

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

Preview Lab → · Contrast checker → · Palette generator →

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