#125F1D#125F1D

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

Color values

HEX#125F1D
RGBrgb(18, 95, 29)
HSLhsl(129, 68%, 22%)
HSVhsv(129, 81%, 37%)
CMYKcmyk(81.1%, 0%, 69.5%, 62.7%)
CIE-LABlab(34.80, -37.26, 30.42)
CIE-LCHlch(34.80, 48.11, 140.77°)
OKLaboklab(42.57% -0.1006 0.0706)
OKLCHoklch(42.57% 0.123 144.9)
XYZxyz(4.5631, 8.4012, 2.5433)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F1D #5F1254
analogous
#2E5F12 #125F1D #125F43
triadic
#125F1D #1D125F #5F1D12
tetradic
#125F1D #122E5F #5F1254 #5F4312
square
#125F1D #122E5F #5F1254 #5F4312
split-complementary
#125F1D #43125F #5F122E
monochromatic
#051A08 #082C0D #125F1D #1C922D #25C63C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F1D#FFFFFF#000000##FFFFFF
##125F1D1.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)
#615515
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f1d;
/* rgb */ color: rgb(18, 95, 29);
/* oklch */ color: oklch(42.6% 0.123 144.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d5c',
    500: '#125f1d',
    950: '#000000',
  },
}
SCSS
$custom: #125f1d;
$custom-light: #5f8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125f1d",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 128.571,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.12292,
    "h": 144.9
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#125F1D
secondary
#973689
accent
#3DD2EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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