#124F18#124F18

#124F18 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.106 H 144.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#124F18
RGBrgb(18, 79, 24)
HSLhsl(126, 63%, 19%)
HSVhsv(126, 77%, 31%)
CMYKcmyk(77.2%, 0%, 69.6%, 69%)
CIE-LABlab(28.87, -31.77, 26.30)
CIE-LCHlch(28.87, 41.24, 140.38°)
OKLaboklab(37.63% -0.0859 0.0613)
OKLCHoklch(37.63% 0.106 144.5)
XYZxyz(3.2101, 5.7862, 1.8116)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F18 #4F1249
analogous
#2B4F12 #124F18 #124F37
triadic
#124F18 #18124F #4F1812
tetradic
#124F18 #122B4F #4F1249 #4F3712
square
#124F18 #122B4F #4F1249 #4F3712
split-complementary
#124F18 #37124F #4F122B
monochromatic
#061908 #071D09 #124F18 #1D8127 #29B336

Accessibility & contrast

On white

9.73
#124F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F18
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F18#FFFFFF#000000##FFFFFF
##124F181.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514711
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f18;
/* rgb */ color: rgb(18, 79, 24);
/* oklch */ color: oklch(37.6% 0.106 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b8157',
    500: '#124f18',
    950: '#000000',
  },
}
SCSS
$custom: #124f18;
$custom-light: #5b8157;
$custom-dark: #000000;
JSON
{
  "hex": "#124f18",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 125.902,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.10554,
    "h": 144.5
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#124F18
secondary
#883580
accent
#42D6E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F18

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

Preview Lab → · Contrast checker → · Palette generator →

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