#124107#124107

#124107 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.099 H 140.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#124107
RGBrgb(18, 65, 7)
HSLhsl(109, 81%, 14%)
HSVhsv(109, 89%, 25%)
CMYKcmyk(72.3%, 0%, 89.2%, 74.5%)
CIE-LABlab(23.42, -27.89, 28.31)
CIE-LCHlch(23.42, 39.74, 134.58°)
OKLaboklab(33.07% -0.0765 0.0632)
OKLCHoklch(33.07% 0.099 140.4)
XYZxyz(2.1780, 3.9243, 0.8437)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124107 #360741
analogous
#2F4107 #124107 #074119
triadic
#124107 #071241 #410712
tetradic
#124107 #072F41 #360741 #411907
square
#124107 #072F41 #360741 #411907
split-complementary
#124107 #190741 #41072F
monochromatic
#081C03 #081C03 #124107 #21780D #31B013

Accessibility & contrast

On white

11.76
#124107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#124107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124107
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124107#FFFFFF#000000##FFFFFF
##1241071.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#0A3F36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #124107;
/* rgb */ color: rgb(18, 65, 7);
/* oklch */ color: oklch(33.1% 0.099 140.4);
Tailwind
colors: {
  custom: {
    50: '#58764c',
    500: '#124107',
    950: '#000000',
  },
}
SCSS
$custom: #124107;
$custom-light: #58764c;
$custom-dark: #000000;
JSON
{
  "hex": "#124107",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 108.621,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.09917,
    "h": 140.4
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#124107
secondary
#6F2480
accent
#31F7D1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124107

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

Preview Lab → · Contrast checker → · Palette generator →

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