#124906#124906

#124906 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.110 H 140.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#124906
RGBrgb(18, 73, 6)
HSLhsl(109, 85%, 15%)
HSVhsv(109, 92%, 29%)
CMYKcmyk(75.3%, 0%, 91.8%, 71.4%)
CIE-LABlab(26.47, -31.15, 31.63)
CIE-LCHlch(26.47, 44.40, 134.56°)
OKLaboklab(35.59% -0.0853 0.0697)
OKLCHoklch(35.59% 0.11 140.7)
XYZxyz(2.6647, 4.9066, 0.9789)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124906 #3D0649
analogous
#334906 #124906 #06491B
triadic
#124906 #061249 #490612
tetradic
#124906 #063349 #3D0649 #491B06
square
#124906 #063349 #3D0649 #491B06
split-complementary
#124906 #1B0649 #490633
monochromatic
#071C02 #071C02 #124906 #20820B #2EBA0F

Accessibility & contrast

On white

10.60
#124906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#124906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124906
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124906#FFFFFF#000000##FFFFFF
##1249061.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#07463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124906;
/* rgb */ color: rgb(18, 73, 6);
/* oklch */ color: oklch(35.6% 0.110 140.7);
Tailwind
colors: {
  custom: {
    50: '#5a7c4d',
    500: '#124906',
    950: '#000000',
  },
}
SCSS
$custom: #124906;
$custom-light: #5a7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#124906",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 109.254,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3559,
    "c": 0.11017,
    "h": 140.7
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#124906
secondary
#762388
accent
#2DFBD6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #124906

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

Preview Lab → · Contrast checker → · Palette generator →

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