#125F22#125F22

#125F22 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.119 H 146.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#125F22
RGBrgb(18, 95, 34)
HSLhsl(132, 68%, 22%)
HSVhsv(132, 81%, 37%)
CMYKcmyk(81.1%, 0%, 64.2%, 62.7%)
CIE-LABlab(34.86, -36.61, 27.99)
CIE-LCHlch(34.86, 46.08, 142.60°)
OKLaboklab(42.63% -0.0986 0.066)
OKLCHoklch(42.63% 0.119 146.2)
XYZxyz(4.6301, 8.4280, 2.8958)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F22 #5F124F
analogous
#285F12 #125F22 #125F49
triadic
#125F22 #22125F #5F2212
tetradic
#125F22 #12285F #5F124F #5F4912
square
#125F22 #12285F #5F124F #5F4912
split-complementary
#125F22 #49125F #5F1228
monochromatic
#051A09 #082C10 #125F22 #1C9234 #25C647

Accessibility & contrast

On white

7.82
#125F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F22
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F22#FFFFFF#000000##FFFFFF
##125F221.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f22;
/* rgb */ color: rgb(18, 95, 34);
/* oklch */ color: oklch(42.6% 0.119 146.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d5f',
    500: '#125f22',
    950: '#000000',
  },
}
SCSS
$custom: #125f22;
$custom-light: #5f8d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#125f22",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 132.468,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42629,
    "c": 0.11864,
    "h": 146.2
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#125F22
secondary
#973683
accent
#3DC7EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125F22

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

Preview Lab → · Contrast checker → · Palette generator →

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