#125F19#125F19

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

Color values

HEX#125F19
RGBrgb(18, 95, 25)
HSLhsl(125, 68%, 22%)
HSVhsv(125, 81%, 37%)
CMYKcmyk(81.1%, 0%, 73.7%, 62.7%)
CIE-LABlab(34.77, -37.72, 32.25)
CIE-LCHlch(34.77, 49.63, 139.47°)
OKLaboklab(42.52% -0.102 0.074)
OKLCHoklch(42.52% 0.126 144.1)
XYZxyz(4.5168, 8.3827, 2.2995)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F19 #5F1258
analogous
#315F12 #125F19 #125F40
triadic
#125F19 #19125F #5F1912
tetradic
#125F19 #12315F #5F1258 #5F4012
square
#125F19 #12315F #5F1258 #5F4012
split-complementary
#125F19 #40125F #5F1231
monochromatic
#051A07 #082C0B #125F19 #1C9227 #25C634

Accessibility & contrast

On white

7.85
#125F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F19
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F19#FFFFFF#000000##FFFFFF
##125F191.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f19;
/* rgb */ color: rgb(18, 95, 25);
/* oklch */ color: oklch(42.5% 0.126 144.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d5a',
    500: '#125f19',
    950: '#000000',
  },
}
SCSS
$custom: #125f19;
$custom-light: #5f8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f19",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 125.455,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.12603,
    "h": 144.1
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#125F19
secondary
#97368E
accent
#3DDBEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #125F19

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

Preview Lab → · Contrast checker → · Palette generator →

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