#125E2B#125E2B

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

Color values

HEX#125E2B
RGBrgb(18, 94, 43)
HSLhsl(140, 68%, 22%)
HSVhsv(140, 81%, 37%)
CMYKcmyk(80.9%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.62, -34.81, 22.83)
CIE-LCHlch(34.62, 41.63, 146.74°)
OKLaboklab(42.47% -0.0936 0.0553)
OKLCHoklch(42.47% 0.109 149.4)
XYZxyz(4.6878, 8.3079, 3.6415)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2B #5E1245
analogous
#1F5E12 #125E2B #125E51
triadic
#125E2B #2B125E #5E2B12
tetradic
#125E2B #121F5E #5E1245 #5E5112
square
#125E2B #121F5E #5E1245 #5E5112
split-complementary
#125E2B #51125E #5E121F
monochromatic
#051A0C #082B14 #125E2B #1C9142 #26C55A

Accessibility & contrast

On white

7.89
#125E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E2B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E2B#FFFFFF#000000##FFFFFF
##125E2B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e2b;
/* rgb */ color: rgb(18, 94, 43);
/* oklch */ color: oklch(42.5% 0.109 149.4);
Tailwind
colors: {
  custom: {
    50: '#5e8c65',
    500: '#125e2b',
    950: '#000000',
  },
}
SCSS
$custom: #125e2b;
$custom-light: #5e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2b",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 139.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.10868,
    "h": 149.4
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#125E2B
secondary
#963576
accent
#3DB2EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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