#125E1F#125E1F

#125E1F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.120 H 145.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125E1F
RGBrgb(18, 94, 31)
HSLhsl(130, 68%, 22%)
HSVhsv(130, 81%, 37%)
CMYKcmyk(80.9%, 0%, 67%, 63.1%)
CIE-LABlab(34.46, -36.64, 29.06)
CIE-LCHlch(34.46, 46.76, 141.58°)
OKLaboklab(42.29% -0.0988 0.068)
OKLCHoklch(42.29% 0.12 145.5)
XYZxyz(4.4992, 8.2324, 2.6480)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E1F #5E1251
analogous
#2B5E12 #125E1F #125E45
triadic
#125E1F #1F125E #5E1F12
tetradic
#125E1F #122B5E #5E1251 #5E4512
square
#125E1F #122B5E #5E1251 #5E4512
split-complementary
#125E1F #45125E #5E122B
monochromatic
#051A08 #082B0E #125E1F #1C9130 #26C541

Accessibility & contrast

On white

7.93
#125E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E1F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E1F#FFFFFF#000000##FFFFFF
##125E1F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e1f;
/* rgb */ color: rgb(18, 94, 31);
/* oklch */ color: oklch(42.3% 0.120 145.5);
Tailwind
colors: {
  custom: {
    50: '#5e8c5d',
    500: '#125e1f',
    950: '#000000',
  },
}
SCSS
$custom: #125e1f;
$custom-light: #5e8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125e1f",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 130.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.11993,
    "h": 145.5
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#125E1F
secondary
#963586
accent
#3DCDEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#125E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva