#124806#124806

#124806 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.109 H 140.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#124806
RGBrgb(18, 72, 6)
HSLhsl(109, 85%, 15%)
HSVhsv(109, 92%, 28%)
CMYKcmyk(75%, 0%, 91.7%, 71.8%)
CIE-LABlab(26.09, -30.76, 31.29)
CIE-LCHlch(26.09, 43.88, 134.52°)
OKLaboklab(35.28% -0.0842 0.069)
OKLCHoklch(35.28% 0.109 140.7)
XYZxyz(2.5996, 4.7762, 0.9572)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124806 #3C0648
analogous
#334806 #124806 #06481B
triadic
#124806 #061248 #480612
tetradic
#124806 #063348 #3C0648 #481B06
square
#124806 #063348 #3C0648 #481B06
split-complementary
#124806 #1B0648 #480633
monochromatic
#071C02 #071C02 #124806 #20800B #2EB90F

Accessibility & contrast

On white

10.74
#124806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#124806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124806
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124806#FFFFFF#000000##FFFFFF
##1248061.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#08453C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124806;
/* rgb */ color: rgb(18, 72, 6);
/* oklch */ color: oklch(35.3% 0.109 140.7);
Tailwind
colors: {
  custom: {
    50: '#5a7c4d',
    500: '#124806',
    950: '#000000',
  },
}
SCSS
$custom: #124806;
$custom-light: #5a7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#124806",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 6
  },
  "hsl": {
    "h": 109.091,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.10891,
    "h": 140.7
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#124806
secondary
#752387
accent
#2DFBD5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #124806

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

Preview Lab → · Contrast checker → · Palette generator →

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