#125E1E#125E1E

#125E1E is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.121 H 145.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#125E1E
RGBrgb(18, 94, 30)
HSLhsl(129, 68%, 22%)
HSVhsv(129, 81%, 37%)
CMYKcmyk(80.9%, 0%, 68.1%, 63.1%)
CIE-LABlab(34.45, -36.77, 29.54)
CIE-LCHlch(34.45, 47.17, 141.22°)
OKLaboklab(42.28% -0.0992 0.0689)
OKLCHoklch(42.28% 0.121 145.2)
XYZxyz(4.4862, 8.2272, 2.5796)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E1E #5E1252
analogous
#2C5E12 #125E1E #125E44
triadic
#125E1E #1E125E #5E1E12
tetradic
#125E1E #122C5E #5E1252 #5E4412
square
#125E1E #122C5E #5E1252 #5E4412
split-complementary
#125E1E #44125E #5E122C
monochromatic
#051A08 #082B0E #125E1E #1C912E #26C53F

Accessibility & contrast

On white

7.94
#125E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E1E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E1E#FFFFFF#000000##FFFFFF
##125E1E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e1e;
/* rgb */ color: rgb(18, 94, 30);
/* oklch */ color: oklch(42.3% 0.121 145.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c5d',
    500: '#125e1e',
    950: '#000000',
  },
}
SCSS
$custom: #125e1e;
$custom-light: #5e8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125e1e",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 129.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.12078,
    "h": 145.2
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#125E1E
secondary
#963587
accent
#3DCFEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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