#125F1B#125F1B

#125F1B is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.125 H 144.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#125F1B
RGBrgb(18, 95, 27)
HSLhsl(127, 68%, 22%)
HSVhsv(127, 81%, 37%)
CMYKcmyk(81.1%, 0%, 71.6%, 62.7%)
CIE-LABlab(34.79, -37.50, 31.35)
CIE-LCHlch(34.79, 48.88, 140.10°)
OKLaboklab(42.55% -0.1013 0.0724)
OKLCHoklch(42.55% 0.125 144.5)
XYZxyz(4.5392, 8.3916, 2.4172)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F1B #5F1256
analogous
#305F12 #125F1B #125F42
triadic
#125F1B #1B125F #5F1B12
tetradic
#125F1B #12305F #5F1256 #5F4212
square
#125F1B #12305F #5F1256 #5F4212
split-complementary
#125F1B #42125F #5F1230
monochromatic
#051A07 #082C0C #125F1B #1C922A #25C638

Accessibility & contrast

On white

7.84
#125F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F1B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F1B#FFFFFF#000000##FFFFFF
##125F1B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f1b;
/* rgb */ color: rgb(18, 95, 27);
/* oklch */ color: oklch(42.5% 0.125 144.5);
Tailwind
colors: {
  custom: {
    50: '#5f8d5b',
    500: '#125f1b',
    950: '#000000',
  },
}
SCSS
$custom: #125f1b;
$custom-light: #5f8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#125f1b",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 127.013,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.12451,
    "h": 144.5
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#125F1B
secondary
#97368C
accent
#3DD7EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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