#124705#124705

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

Color values

HEX#124705
RGBrgb(18, 71, 5)
HSLhsl(108, 87%, 15%)
HSVhsv(108, 93%, 28%)
CMYKcmyk(74.6%, 0%, 93%, 72.2%)
CIE-LABlab(25.70, -30.45, 31.34)
CIE-LCHlch(25.70, 43.70, 134.18°)
OKLaboklab(34.95% -0.0835 0.0689)
OKLCHoklch(34.95% 0.108 140.5)
XYZxyz(2.5300, 4.6458, 0.9069)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124705 #3A0547
analogous
#334705 #124705 #054719
triadic
#124705 #051247 #470512
tetradic
#124705 #053347 #3A0547 #471905
square
#124705 #053347 #3A0547 #471905
split-complementary
#124705 #190547 #470533
monochromatic
#071D02 #071D02 #124705 #208009 #2FB90D

Accessibility & contrast

On white

10.89
#124705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124705
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124705#FFFFFF#000000##FFFFFF
##1247051.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124705;
/* rgb */ color: rgb(18, 71, 5);
/* oklch */ color: oklch(35.0% 0.108 140.5);
Tailwind
colors: {
  custom: {
    50: '#5a7b4c',
    500: '#124705',
    950: '#000000',
  },
}
SCSS
$custom: #124705;
$custom-light: #5a7b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#124705",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 108.182,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.10826,
    "h": 140.5
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#124705
secondary
#732187
accent
#2BFDD4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #124705

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

Preview Lab → · Contrast checker → · Palette generator →

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