#125F1E#125F1E

#125F1E is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.122 H 145.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#125F1E
RGBrgb(18, 95, 30)
HSLhsl(129, 68%, 22%)
HSVhsv(129, 81%, 37%)
CMYKcmyk(81.1%, 0%, 68.4%, 62.7%)
CIE-LABlab(34.81, -37.14, 29.95)
CIE-LCHlch(34.81, 47.71, 141.12°)
OKLaboklab(42.58% -0.1002 0.0697)
OKLCHoklch(42.58% 0.122 145.2)
XYZxyz(4.5757, 8.4062, 2.6095)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F1E #5F1253
analogous
#2C5F12 #125F1E #125F45
triadic
#125F1E #1E125F #5F1E12
tetradic
#125F1E #122C5F #5F1253 #5F4512
square
#125F1E #122C5F #5F1253 #5F4512
split-complementary
#125F1E #45125F #5F122C
monochromatic
#051A08 #082C0E #125F1E #1C922E #25C63E

Accessibility & contrast

On white

7.83
#125F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F1E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F1E#FFFFFF#000000##FFFFFF
##125F1E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615616
Deuteranopia (green-blind)
#585024
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f1e;
/* rgb */ color: rgb(18, 95, 30);
/* oklch */ color: oklch(42.6% 0.122 145.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d5d',
    500: '#125f1e',
    950: '#000000',
  },
}
SCSS
$custom: #125f1e;
$custom-light: #5f8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125f1e",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 129.351,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.1221,
    "h": 145.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#125F1E
secondary
#973688
accent
#3DD0EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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