#124E12#124E12

#124E12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.109 H 143.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#124E12
RGBrgb(18, 78, 18)
HSLhsl(120, 63%, 19%)
HSVhsv(120, 77%, 31%)
CMYKcmyk(76.9%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.43, -32.07, 28.72)
CIE-LCHlch(28.43, 43.06, 138.15°)
OKLaboklab(37.25% -0.0871 0.0656)
OKLCHoklch(37.25% 0.109 143)
XYZxyz(3.0828, 5.6207, 1.4946)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E12 #4E124E
analogous
#304E12 #124E12 #124E30
triadic
#124E12 #12124E #4E1212
tetradic
#124E12 #12304E #4E124E #4E3012
square
#124E12 #12304E #4E124E #4E3012
split-complementary
#124E12 #30124E #4E1230
monochromatic
#061906 #071C07 #124E12 #1D801D #29B129

Accessibility & contrast

On white

9.89
#124E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E12
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E12#FFFFFF#000000##FFFFFF
##124E121.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#024C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e12;
/* rgb */ color: rgb(18, 78, 18);
/* oklch */ color: oklch(37.2% 0.109 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8054',
    500: '#124e12',
    950: '#000000',
  },
}
SCSS
$custom: #124e12;
$custom-light: #5b8054;
$custom-dark: #000000;
JSON
{
  "hex": "#124e12",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.10904,
    "h": 143
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#124E12
secondary
#873587
accent
#42E6E6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E12

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

Preview Lab → · Contrast checker → · Palette generator →

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