#125E1B#125E1B

#125E1B is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.123 H 144.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#125E1B
RGBrgb(18, 94, 27)
HSLhsl(127, 68%, 22%)
HSVhsv(127, 81%, 37%)
CMYKcmyk(80.9%, 0%, 71.3%, 63.1%)
CIE-LABlab(34.42, -37.13, 30.96)
CIE-LCHlch(34.42, 48.34, 140.18°)
OKLaboklab(42.24% -0.1003 0.0715)
OKLCHoklch(42.24% 0.123 144.5)
XYZxyz(4.4497, 8.2126, 2.3874)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E1B #5E1255
analogous
#2F5E12 #125E1B #125E41
triadic
#125E1B #1B125E #5E1B12
tetradic
#125E1B #122F5E #5E1255 #5E4112
square
#125E1B #122F5E #5E1255 #5E4112
split-complementary
#125E1B #41125E #5E122F
monochromatic
#051A07 #082B0C #125E1B #1C912A #26C539

Accessibility & contrast

On white

7.95
#125E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E1B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E1B#FFFFFF#000000##FFFFFF
##125E1B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605512
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e1b;
/* rgb */ color: rgb(18, 94, 27);
/* oklch */ color: oklch(42.2% 0.123 144.5);
Tailwind
colors: {
  custom: {
    50: '#5f8c5b',
    500: '#125e1b',
    950: '#000000',
  },
}
SCSS
$custom: #125e1b;
$custom-light: #5f8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#125e1b",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 127.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.12321,
    "h": 144.5
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#125E1B
secondary
#96358B
accent
#3DD6EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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