#125F1A#125F1A

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

Color values

HEX#125F1A
RGBrgb(18, 95, 26)
HSLhsl(126, 68%, 22%)
HSVhsv(126, 81%, 37%)
CMYKcmyk(81.1%, 0%, 72.6%, 62.7%)
CIE-LABlab(34.78, -37.61, 31.80)
CIE-LCHlch(34.78, 49.25, 139.78°)
OKLaboklab(42.53% -0.1017 0.0732)
OKLCHoklch(42.53% 0.125 144.3)
XYZxyz(4.5278, 8.3871, 2.3573)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F1A #5F1257
analogous
#305F12 #125F1A #125F41
triadic
#125F1A #1A125F #5F1A12
tetradic
#125F1A #12305F #5F1257 #5F4112
square
#125F1A #12305F #5F1257 #5F4112
split-complementary
#125F1A #41125F #5F1230
monochromatic
#051A07 #082C0C #125F1A #1C9228 #25C636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F1A#FFFFFF#000000##FFFFFF
##125F1A1.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)
#615510
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f1a;
/* rgb */ color: rgb(18, 95, 26);
/* oklch */ color: oklch(42.5% 0.125 144.3);
Tailwind
colors: {
  custom: {
    50: '#5f8d5a',
    500: '#125f1a',
    950: '#000000',
  },
}
SCSS
$custom: #125f1a;
$custom-light: #5f8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f1a",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 126.234,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.12528,
    "h": 144.3
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#125F1A
secondary
#97368D
accent
#3DD9EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #125F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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