#125A1D#125A1D

#125A1D is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.116 H 145.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#125A1D
RGBrgb(18, 90, 29)
HSLhsl(129, 67%, 21%)
HSVhsv(129, 80%, 35%)
CMYKcmyk(80%, 0%, 67.8%, 64.7%)
CIE-LABlab(32.98, -35.39, 28.39)
CIE-LCHlch(32.98, 45.37, 141.26°)
OKLaboklab(41.06% -0.0955 0.0663)
OKLCHoklch(41.06% 0.116 145.2)
XYZxyz(4.1271, 7.5292, 2.3979)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A1D #5A124F
analogous
#2B5A12 #125A1D #125A41
triadic
#125A1D #1D125A #5A1D12
tetradic
#125A1D #122B5A #5A124F #5A4112
square
#125A1D #122B5A #5A124F #5A4112
split-complementary
#125A1D #41125A #5A122B
monochromatic
#051A08 #08270D #125A1D #1C8D2D #26C03E

Accessibility & contrast

On white

8.38
#125A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A1D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A1D#FFFFFF#000000##FFFFFF
##125A1D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5116
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a1d;
/* rgb */ color: rgb(18, 90, 29);
/* oklch */ color: oklch(41.1% 0.116 145.2);
Tailwind
colors: {
  custom: {
    50: '#5d895c',
    500: '#125a1d',
    950: '#000000',
  },
}
SCSS
$custom: #125a1d;
$custom-light: #5d895c;
$custom-dark: #000000;
JSON
{
  "hex": "#125a1d",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 29
  },
  "hsl": {
    "h": 129.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.11628,
    "h": 145.2
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#125A1D
secondary
#933584
accent
#3ECFEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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