#124C10#124C10

#124C10 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.108 H 142.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#124C10
RGBrgb(18, 76, 16)
HSLhsl(118, 65%, 18%)
HSVhsv(118, 79%, 30%)
CMYKcmyk(76.3%, 0%, 78.9%, 70.2%)
CIE-LABlab(27.67, -31.49, 28.82)
CIE-LCHlch(27.67, 42.69, 137.54°)
OKLaboklab(36.61% -0.0856 0.0655)
OKLCHoklch(36.61% 0.108 142.6)
XYZxyz(2.9273, 5.3346, 1.3655)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C10 #4A104C
analogous
#304C10 #124C10 #104C2C
triadic
#124C10 #10124C #4C1012
tetradic
#124C10 #10304C #4A104C #4C2C10
square
#124C10 #10304C #4A104C #4C2C10
split-complementary
#124C10 #2C104C #4C1030
monochromatic
#061905 #061905 #124C10 #1E7F1B #2AB125

Accessibility & contrast

On white

10.16
#124C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C10
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C10#FFFFFF#000000##FFFFFF
##124C101.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#474016
Tritanopia (blue-blind)
#044A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c10;
/* rgb */ color: rgb(18, 76, 16);
/* oklch */ color: oklch(36.6% 0.108 142.6);
Tailwind
colors: {
  custom: {
    50: '#5a7f52',
    500: '#124c10',
    950: '#000000',
  },
}
SCSS
$custom: #124c10;
$custom-light: #5a7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#124c10",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 118,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.10783,
    "h": 142.6
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#124C10
secondary
#833286
accent
#40E8E3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124C10

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

Preview Lab → · Contrast checker → · Palette generator →

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