#124C15#124C15

#124C15 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.104 H 143.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#124C15
RGBrgb(18, 76, 21)
HSLhsl(123, 62%, 18%)
HSVhsv(123, 76%, 30%)
CMYKcmyk(76.3%, 0%, 72.4%, 70.2%)
CIE-LABlab(27.71, -30.95, 26.53)
CIE-LCHlch(27.71, 40.76, 139.40°)
OKLaboklab(36.66% -0.0839 0.0614)
OKLCHoklch(36.66% 0.104 143.8)
XYZxyz(2.9691, 5.3513, 1.5858)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C15 #4C1249
analogous
#2C4C12 #124C15 #124C32
triadic
#124C15 #15124C #4C1512
tetradic
#124C15 #122C4C #4C1249 #4C3212
square
#124C15 #122C4C #4C1249 #4C3212
split-complementary
#124C15 #32124C #4C122C
monochromatic
#061907 #061B07 #124C15 #1E7D23 #29AF30

Accessibility & contrast

On white

10.14
#124C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C15
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C15#FFFFFF#000000##FFFFFF
##124C151.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440E
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#024A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c15;
/* rgb */ color: rgb(18, 76, 21);
/* oklch */ color: oklch(36.7% 0.104 143.8);
Tailwind
colors: {
  custom: {
    50: '#5a7f55',
    500: '#124c15',
    950: '#000000',
  },
}
SCSS
$custom: #124c15;
$custom-light: #5a7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#124c15",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 123.103,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.10394,
    "h": 143.8
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#124C15
secondary
#853581
accent
#43DCE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C15

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

Preview Lab → · Contrast checker → · Palette generator →

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