#124708#124708

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

Color values

HEX#124708
RGBrgb(18, 71, 8)
HSLhsl(110, 80%, 15%)
HSVhsv(110, 89%, 28%)
CMYKcmyk(74.6%, 0%, 88.7%, 72.2%)
CIE-LABlab(25.72, -30.22, 30.14)
CIE-LCHlch(25.72, 42.68, 135.07°)
OKLaboklab(34.97% -0.0826 0.067)
OKLCHoklch(34.97% 0.106 141)
XYZxyz(2.5464, 4.6523, 0.9935)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124708 #3D0847
analogous
#314708 #124708 #08471D
triadic
#124708 #081247 #470812
tetradic
#124708 #083147 #3D0847 #471D08
square
#124708 #083147 #3D0847 #471D08
split-complementary
#124708 #1D0847 #470831
monochromatic
#071C03 #071C03 #124708 #207E0E #2EB514

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124708#FFFFFF#000000##FFFFFF
##1247081.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)
#433B10
Tritanopia (blue-blind)
#08443B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124708;
/* rgb */ color: rgb(18, 71, 8);
/* oklch */ color: oklch(35.0% 0.106 141.0);
Tailwind
colors: {
  custom: {
    50: '#597b4d',
    500: '#124708',
    950: '#000000',
  },
}
SCSS
$custom: #124708;
$custom-light: #597b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#124708",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 8
  },
  "hsl": {
    "h": 110.476,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34974,
    "c": 0.1064,
    "h": 141
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#124708
secondary
#762685
accent
#32F6D7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124708

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

Preview Lab → · Contrast checker → · Palette generator →

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