#124F16#124F16

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

Color values

HEX#124F16
RGBrgb(18, 79, 22)
HSLhsl(124, 63%, 19%)
HSVhsv(124, 77%, 31%)
CMYKcmyk(77.2%, 0%, 72.2%, 69%)
CIE-LABlab(28.85, -32.02, 27.27)
CIE-LCHlch(28.85, 42.06, 139.57°)
OKLaboklab(37.6% -0.0867 0.0631)
OKLCHoklch(37.6% 0.107 143.9)
XYZxyz(3.1901, 5.7781, 1.7061)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F16 #4F124B
analogous
#2D4F12 #124F16 #124F35
triadic
#124F16 #16124F #4F1612
tetradic
#124F16 #122D4F #4F124B #4F3512
square
#124F16 #122D4F #4F124B #4F3512
split-complementary
#124F16 #35124F #4F122D
monochromatic
#061907 #071D08 #124F16 #1D8124 #29B332

Accessibility & contrast

On white

9.74
#124F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F16
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F16#FFFFFF#000000##FFFFFF
##124F161.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#014D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f16;
/* rgb */ color: rgb(18, 79, 22);
/* oklch */ color: oklch(37.6% 0.107 143.9);
Tailwind
colors: {
  custom: {
    50: '#5b8156',
    500: '#124f16',
    950: '#000000',
  },
}
SCSS
$custom: #124f16;
$custom-light: #5b8156;
$custom-dark: #000000;
JSON
{
  "hex": "#124f16",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 123.934,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37601,
    "c": 0.10724,
    "h": 143.9
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#124F16
secondary
#883583
accent
#42DBE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F16

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

Preview Lab → · Contrast checker → · Palette generator →

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