#124C0E#124C0E

#124C0E is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.109 H 142.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#124C0E
RGBrgb(18, 76, 14)
HSLhsl(116, 69%, 18%)
HSVhsv(116, 82%, 30%)
CMYKcmyk(76.3%, 0%, 81.6%, 70.2%)
CIE-LABlab(27.65, -31.68, 29.66)
CIE-LCHlch(27.65, 43.40, 136.89°)
OKLaboklab(36.59% -0.0862 0.067)
OKLCHoklch(36.59% 0.109 142.2)
XYZxyz(2.9130, 5.3289, 1.2904)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C0E #480E4C
analogous
#314C0E #124C0E #0E4C29
triadic
#124C0E #0E124C #4C0E12
tetradic
#124C0E #0E314C #480E4C #4C290E
square
#124C0E #0E314C #480E4C #4C290E
split-complementary
#124C0E #290E4C #4C0E31
monochromatic
#061A05 #061A05 #124C0E #1E8018 #2AB321

Accessibility & contrast

On white

10.17
#124C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C0E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C0E#FFFFFF#000000##FFFFFF
##124C0E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#044940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c0e;
/* rgb */ color: rgb(18, 76, 14);
/* oklch */ color: oklch(36.6% 0.109 142.2);
Tailwind
colors: {
  custom: {
    50: '#5a7f51',
    500: '#124c0e',
    950: '#000000',
  },
}
SCSS
$custom: #124c0e;
$custom-light: #5a7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#124c0e",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 116.129,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.10922,
    "h": 142.2
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#124C0E
secondary
#812F87
accent
#3CECE0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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