#125F26#125F26

#125F26 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.115 H 147.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#125F26
RGBrgb(18, 95, 38)
HSLhsl(136, 68%, 22%)
HSVhsv(136, 81%, 37%)
CMYKcmyk(81.1%, 0%, 60%, 62.7%)
CIE-LABlab(34.91, -36.02, 25.94)
CIE-LCHlch(34.91, 44.39, 144.24°)
OKLaboklab(42.69% -0.0969 0.0619)
OKLCHoklch(42.69% 0.115 147.5)
XYZxyz(4.6912, 8.4524, 3.2176)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F26 #5F124B
analogous
#255F12 #125F26 #125F4D
triadic
#125F26 #26125F #5F2612
tetradic
#125F26 #12255F #5F124B #5F4D12
square
#125F26 #12255F #5F124B #5F4D12
split-complementary
#125F26 #4D125F #5F1225
monochromatic
#051A0A #082C11 #125F26 #1C923B #25C64F

Accessibility & contrast

On white

7.80
#125F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F26
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F26#FFFFFF#000000##FFFFFF
##125F261.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605621
Deuteranopia (green-blind)
#57502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f26;
/* rgb */ color: rgb(18, 95, 38);
/* oklch */ color: oklch(42.7% 0.115 147.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d62',
    500: '#125f26',
    950: '#000000',
  },
}
SCSS
$custom: #125f26;
$custom-light: #5e8d62;
$custom-dark: #000000;
JSON
{
  "hex": "#125f26",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 38
  },
  "hsl": {
    "h": 135.584,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.11497,
    "h": 147.5
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#125F26
secondary
#97367E
accent
#3DBEEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125F26

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

Preview Lab → · Contrast checker → · Palette generator →

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