#124712#124712

#124712 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.099 H 143.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#124712
RGBrgb(18, 71, 18)
HSLhsl(120, 60%, 17%)
HSVhsv(120, 75%, 28%)
CMYKcmyk(74.6%, 0%, 74.6%, 72.2%)
CIE-LABlab(25.80, -29.29, 25.92)
CIE-LCHlch(25.80, 39.11, 138.49°)
OKLaboklab(35.06% -0.0795 0.0597)
OKLCHoklch(35.06% 0.099 143.1)
XYZxyz(2.6117, 4.6785, 1.3375)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124712 #471247
analogous
#2D4712 #124712 #12472D
triadic
#124712 #121247 #471212
tetradic
#124712 #122D47 #471247 #472D12
square
#124712 #122D47 #471247 #472D12
split-complementary
#124712 #2D1247 #47122D
monochromatic
#061806 #061806 #124712 #1E781E #2BA92B

Accessibility & contrast

On white

10.85
#124712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#124712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124712
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124712#FFFFFF#000000##FFFFFF
##1247121.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#06453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124712;
/* rgb */ color: rgb(18, 71, 18);
/* oklch */ color: oklch(35.1% 0.099 143.1);
Tailwind
colors: {
  custom: {
    50: '#597b53',
    500: '#124712',
    950: '#000000',
  },
}
SCSS
$custom: #124712;
$custom-light: #597b53;
$custom-dark: #000000;
JSON
{
  "hex": "#124712",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.09945,
    "h": 143.1
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#124712
secondary
#803580
accent
#45E3E3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124712

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

Preview Lab → · Contrast checker → · Palette generator →

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