#124012#124012

#124012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.9% C 0.089 H 143.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#124012
RGBrgb(18, 64, 18)
HSLhsl(120, 56%, 16%)
HSVhsv(120, 72%, 25%)
CMYKcmyk(71.9%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.13, -26.35, 22.99)
CIE-LCHlch(23.13, 34.97, 138.90°)
OKLaboklab(32.86% -0.0716 0.0535)
OKLCHoklch(32.86% 0.089 143.2)
XYZxyz(2.1919, 3.8388, 1.1976)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124012 #401240
analogous
#294012 #124012 #124029
triadic
#124012 #121240 #401212
tetradic
#124012 #122940 #401240 #402912
square
#124012 #122940 #401240 #402912
split-complementary
#124012 #291240 #401229
monochromatic
#071807 #071807 #124012 #1F701F #2DA02D

Accessibility & contrast

On white

11.88
#124012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#124012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124012
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124012#FFFFFF#000000##FFFFFF
##1240121.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#083E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #124012;
/* rgb */ color: rgb(18, 64, 18);
/* oklch */ color: oklch(32.9% 0.089 143.2);
Tailwind
colors: {
  custom: {
    50: '#577552',
    500: '#124012',
    950: '#000000',
  },
}
SCSS
$custom: #124012;
$custom-light: #577552;
$custom-dark: #000000;
JSON
{
  "hex": "#124012",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.08937,
    "h": 143.2
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#124012
secondary
#793579
accent
#48DFDF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #124012

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

Preview Lab → · Contrast checker → · Palette generator →

#124012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva