#124A10#124A10

#124A10 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.105 H 142.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#124A10
RGBrgb(18, 74, 16)
HSLhsl(118, 64%, 18%)
HSVhsv(118, 78%, 29%)
CMYKcmyk(75.7%, 0%, 78.4%, 71%)
CIE-LABlab(26.91, -30.71, 28.04)
CIE-LCHlch(26.91, 41.59, 137.60°)
OKLaboklab(35.98% -0.0835 0.0639)
OKLCHoklch(35.98% 0.105 142.6)
XYZxyz(2.7916, 5.0633, 1.3203)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A10 #48104A
analogous
#2F4A10 #124A10 #104A2B
triadic
#124A10 #10124A #4A1012
tetradic
#124A10 #102F4A #48104A #4A2B10
square
#124A10 #102F4A #48104A #4A2B10
split-complementary
#124A10 #2B104A #4A102F
monochromatic
#061905 #061905 #124A10 #1E7C1B #2AAF26

Accessibility & contrast

On white

10.43
#124A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A10
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A10#FFFFFF#000000##FFFFFF
##124A101.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4207
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#05483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a10;
/* rgb */ color: rgb(18, 74, 16);
/* oklch */ color: oklch(36.0% 0.105 142.6);
Tailwind
colors: {
  custom: {
    50: '#5a7d52',
    500: '#124a10',
    950: '#000000',
  },
}
SCSS
$custom: #124a10;
$custom-light: #5a7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#124a10",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 117.931,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.10514,
    "h": 142.6
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#124A10
secondary
#813284
accent
#40E7E2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A10

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

Preview Lab → · Contrast checker → · Palette generator →

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