#125E2F#125E2F

#125E2F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.105 H 151.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#125E2F
RGBrgb(18, 94, 47)
HSLhsl(143, 68%, 22%)
HSVhsv(143, 81%, 37%)
CMYKcmyk(80.9%, 0%, 50%, 63.1%)
CIE-LABlab(34.68, -34.08, 20.63)
CIE-LCHlch(34.68, 39.84, 148.81°)
OKLaboklab(42.54% -0.0916 0.0505)
OKLCHoklch(42.54% 0.105 151.1)
XYZxyz(4.7648, 8.3387, 4.0472)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2F #5E1241
analogous
#1B5E12 #125E2F #125E55
triadic
#125E2F #2F125E #5E2F12
tetradic
#125E2F #121B5E #5E1241 #5E5512
square
#125E2F #121B5E #5E1241 #5E5512
split-complementary
#125E2F #55125E #5E121B
monochromatic
#051A0D #082B15 #125E2F #1C9149 #26C562

Accessibility & contrast

On white

7.87
#125E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E2F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E2F#FFFFFF#000000##FFFFFF
##125E2F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e2f;
/* rgb */ color: rgb(18, 94, 47);
/* oklch */ color: oklch(42.5% 0.105 151.1);
Tailwind
colors: {
  custom: {
    50: '#5e8c68',
    500: '#125e2f',
    950: '#000000',
  },
}
SCSS
$custom: #125e2f;
$custom-light: #5e8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2f",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 142.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.10462,
    "h": 151.1
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#125E2F
secondary
#963571
accent
#3DA8EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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