#124707#124707

#124707 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.107 H 140.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#124707
RGBrgb(18, 71, 7)
HSLhsl(110, 82%, 15%)
HSVhsv(110, 90%, 28%)
CMYKcmyk(74.6%, 0%, 90.1%, 72.2%)
CIE-LABlab(25.71, -30.30, 30.54)
CIE-LCHlch(25.71, 43.02, 134.77°)
OKLaboklab(34.97% -0.0829 0.0676)
OKLCHoklch(34.97% 0.107 140.8)
XYZxyz(2.5409, 4.6502, 0.9646)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124707 #3C0747
analogous
#324707 #124707 #07471C
triadic
#124707 #071247 #470712
tetradic
#124707 #073247 #3C0747 #471C07
square
#124707 #073247 #3C0747 #471C07
split-complementary
#124707 #1C0747 #470732
monochromatic
#071C03 #071C03 #124707 #207F0C #2EB612

Accessibility & contrast

On white

10.88
#124707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#124707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124707
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124707#FFFFFF#000000##FFFFFF
##1247071.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#08443B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124707;
/* rgb */ color: rgb(18, 71, 7);
/* oklch */ color: oklch(35.0% 0.107 140.8);
Tailwind
colors: {
  custom: {
    50: '#597b4d',
    500: '#124707',
    950: '#000000',
  },
}
SCSS
$custom: #124707;
$custom-light: #597b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#124707",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 7
  },
  "hsl": {
    "h": 109.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.10701,
    "h": 140.8
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#124707
secondary
#752486
accent
#2FF8D6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #124707

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

Preview Lab → · Contrast checker → · Palette generator →

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