#125F2E#125F2E

#125F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.107 H 150.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#125F2E
RGBrgb(18, 95, 46)
HSLhsl(142, 68%, 22%)
HSVhsv(142, 81%, 37%)
CMYKcmyk(81.1%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.02, -34.67, 21.64)
CIE-LCHlch(35.02, 40.87, 148.03°)
OKLaboklab(42.82% -0.0932 0.0528)
OKLCHoklch(42.82% 0.107 150.5)
XYZxyz(4.8344, 8.5097, 3.9720)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F2E #5F1243
analogous
#1D5F12 #125F2E #125F55
triadic
#125F2E #2E125F #5F2E12
tetradic
#125F2E #121D5F #5F1243 #5F5512
square
#125F2E #121D5F #5F1243 #5F5512
split-complementary
#125F2E #55125F #5F121D
monochromatic
#051A0C #082C15 #125F2E #1C9247 #25C660

Accessibility & contrast

On white

7.77
#125F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F2E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F2E#FFFFFF#000000##FFFFFF
##125F2E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f2e;
/* rgb */ color: rgb(18, 95, 46);
/* oklch */ color: oklch(42.8% 0.107 150.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d67',
    500: '#125f2e',
    950: '#000000',
  },
}
SCSS
$custom: #125f2e;
$custom-light: #5e8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#125f2e",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 141.818,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.10708,
    "h": 150.5
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#125F2E
secondary
#973674
accent
#3DACEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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