#125E2E#125E2E

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

Color values

HEX#125E2E
RGBrgb(18, 94, 46)
HSLhsl(142, 68%, 22%)
HSVhsv(142, 81%, 37%)
CMYKcmyk(80.9%, 0%, 51.1%, 63.1%)
CIE-LABlab(34.66, -34.27, 21.18)
CIE-LCHlch(34.66, 40.29, 148.27°)
OKLaboklab(42.52% -0.0921 0.0517)
OKLCHoklch(42.52% 0.106 150.7)
XYZxyz(4.7449, 8.3307, 3.9422)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2E #5E1242
analogous
#1C5E12 #125E2E #125E54
triadic
#125E2E #2E125E #5E2E12
tetradic
#125E2E #121C5E #5E1242 #5E5412
square
#125E2E #121C5E #5E1242 #5E5412
split-complementary
#125E2E #54125E #5E121C
monochromatic
#051A0D #082B15 #125E2E #1C9147 #26C560

Accessibility & contrast

On white

7.88
#125E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E2E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E2E#FFFFFF#000000##FFFFFF
##125E2E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e2e;
/* rgb */ color: rgb(18, 94, 46);
/* oklch */ color: oklch(42.5% 0.106 150.7);
Tailwind
colors: {
  custom: {
    50: '#5e8c67',
    500: '#125e2e',
    950: '#000000',
  },
}
SCSS
$custom: #125e2e;
$custom-light: #5e8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2e",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 142.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.10565,
    "h": 150.7
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#125E2E
secondary
#963573
accent
#3DABEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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