#124F12#124F12

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

Color values

HEX#124F12
RGBrgb(18, 79, 18)
HSLhsl(120, 63%, 19%)
HSVhsv(120, 77%, 31%)
CMYKcmyk(77.2%, 0%, 77.2%, 69%)
CIE-LABlab(28.81, -32.46, 29.12)
CIE-LCHlch(28.81, 43.61, 138.11°)
OKLaboklab(37.56% -0.0881 0.0665)
OKLCHoklch(37.56% 0.11 143)
XYZxyz(3.1544, 5.7639, 1.5184)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F12 #4F124F
analogous
#314F12 #124F12 #124F31
triadic
#124F12 #12124F #4F1212
tetradic
#124F12 #12314F #4F124F #4F3112
square
#124F12 #12314F #4F124F #4F3112
split-complementary
#124F12 #31124F #4F1231
monochromatic
#061906 #071D07 #124F12 #1D811D #29B329

Accessibility & contrast

On white

9.75
#124F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F12
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F12#FFFFFF#000000##FFFFFF
##124F121.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514708
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#024C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f12;
/* rgb */ color: rgb(18, 79, 18);
/* oklch */ color: oklch(37.6% 0.110 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8154',
    500: '#124f12',
    950: '#000000',
  },
}
SCSS
$custom: #124f12;
$custom-light: #5b8154;
$custom-dark: #000000;
JSON
{
  "hex": "#124f12",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.11037,
    "h": 143
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#124F12
secondary
#883588
accent
#42E6E6
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F12

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

Preview Lab → · Contrast checker → · Palette generator →

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