#124108#124108

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

Color values

HEX#124108
RGBrgb(18, 65, 8)
HSLhsl(109, 78%, 14%)
HSVhsv(109, 88%, 25%)
CMYKcmyk(72.3%, 0%, 87.7%, 74.5%)
CIE-LABlab(23.43, -27.81, 27.91)
CIE-LCHlch(23.43, 39.40, 134.89°)
OKLaboklab(33.07% -0.0761 0.0625)
OKLCHoklch(33.07% 0.098 140.6)
XYZxyz(2.1835, 3.9265, 0.8725)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124108 #370841
analogous
#2F4108 #124108 #08411B
triadic
#124108 #081241 #410812
tetradic
#124108 #082F41 #370841 #411B08
square
#124108 #082F41 #370841 #411B08
split-complementary
#124108 #1B0841 #41082F
monochromatic
#081B03 #081B03 #124108 #21770F #30AE15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124108#FFFFFF#000000##FFFFFF
##1241081.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: #124108;
/* rgb */ color: rgb(18, 65, 8);
/* oklch */ color: oklch(33.1% 0.098 140.6);
Tailwind
colors: {
  custom: {
    50: '#58764c',
    500: '#124108',
    950: '#000000',
  },
}
SCSS
$custom: #124108;
$custom-light: #58764c;
$custom-dark: #000000;
JSON
{
  "hex": "#124108",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 109.474,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.09848,
    "h": 140.6
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#124108
secondary
#70257F
accent
#33F5D3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124108

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

Preview Lab → · Contrast checker → · Palette generator →

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