#124D10#124D10

#124D10 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.109 H 142.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#124D10
RGBrgb(18, 77, 16)
HSLhsl(118, 66%, 18%)
HSVhsv(118, 79%, 30%)
CMYKcmyk(76.6%, 0%, 79.2%, 69.8%)
CIE-LABlab(28.04, -31.88, 29.21)
CIE-LCHlch(28.04, 43.24, 137.51°)
OKLaboklab(36.92% -0.0867 0.0664)
OKLCHoklch(36.92% 0.109 142.6)
XYZxyz(2.9967, 5.4734, 1.3887)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D10 #4B104D
analogous
#304D10 #124D10 #104D2C
triadic
#124D10 #10124D #4D1012
tetradic
#124D10 #10304D #4B104D #4D2C10
square
#124D10 #10304D #4B104D #4D2C10
split-complementary
#124D10 #2C104D #4D1030
monochromatic
#061905 #061A05 #124D10 #1E801B #2AB225

Accessibility & contrast

On white

10.02
#124D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D10
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D10#FFFFFF#000000##FFFFFF
##124D101.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#034A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d10;
/* rgb */ color: rgb(18, 77, 16);
/* oklch */ color: oklch(36.9% 0.109 142.6);
Tailwind
colors: {
  custom: {
    50: '#5b7f52',
    500: '#124d10',
    950: '#000000',
  },
}
SCSS
$custom: #124d10;
$custom-light: #5b7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#124d10",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 118.033,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.10916,
    "h": 142.6
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#124D10
secondary
#843287
accent
#3FE9E3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124D10

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

Preview Lab → · Contrast checker → · Palette generator →

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