#125C1E#125C1E

#125C1E is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.118 H 145.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#125C1E
RGBrgb(18, 92, 30)
HSLhsl(130, 67%, 22%)
HSVhsv(130, 80%, 36%)
CMYKcmyk(80.4%, 0%, 67.4%, 63.9%)
CIE-LABlab(33.72, -36.02, 28.73)
CIE-LCHlch(33.72, 46.07, 141.43°)
OKLaboklab(41.67% -0.0972 0.0671)
OKLCHoklch(41.67% 0.118 145.4)
XYZxyz(4.3106, 7.8761, 2.5211)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C1E #5C1250
analogous
#2B5C12 #125C1E #125C43
triadic
#125C1E #1E125C #5C1E12
tetradic
#125C1E #122B5C #5C1250 #5C4312
square
#125C1E #122B5C #5C1250 #5C4312
split-complementary
#125C1E #43125C #5C122B
monochromatic
#051A08 #08290D #125C1E #1C8F2F #26C23F

Accessibility & contrast

On white

8.15
#125C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C1E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C1E#FFFFFF#000000##FFFFFF
##125C1E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5317
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c1e;
/* rgb */ color: rgb(18, 92, 30);
/* oklch */ color: oklch(41.7% 0.118 145.4);
Tailwind
colors: {
  custom: {
    50: '#5e8b5c',
    500: '#125c1e',
    950: '#000000',
  },
}
SCSS
$custom: #125c1e;
$custom-light: #5e8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125c1e",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 30
  },
  "hsl": {
    "h": 129.73,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.1181,
    "h": 145.4
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#125C1E
secondary
#943585
accent
#3ECEEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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