#125C1F#125C1F

#125C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.117 H 145.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#125C1F
RGBrgb(18, 92, 31)
HSLhsl(131, 67%, 22%)
HSVhsv(131, 80%, 36%)
CMYKcmyk(80.4%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.73, -35.89, 28.23)
CIE-LCHlch(33.73, 45.66, 141.80°)
OKLaboklab(41.69% -0.0968 0.0662)
OKLCHoklch(41.69% 0.117 145.6)
XYZxyz(4.3236, 7.8813, 2.5894)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C1F #5C124F
analogous
#2A5C12 #125C1F #125C44
triadic
#125C1F #1F125C #5C1F12
tetradic
#125C1F #122A5C #5C124F #5C4412
square
#125C1F #122A5C #5C124F #5C4412
split-complementary
#125C1F #44125C #5C122A
monochromatic
#051A09 #08290E #125C1F #1C8F30 #26C241

Accessibility & contrast

On white

8.15
#125C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C1F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C1F#FFFFFF#000000##FFFFFF
##125C1F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c1f;
/* rgb */ color: rgb(18, 92, 31);
/* oklch */ color: oklch(41.7% 0.117 145.6);
Tailwind
colors: {
  custom: {
    50: '#5e8b5d',
    500: '#125c1f',
    950: '#000000',
  },
}
SCSS
$custom: #125c1f;
$custom-light: #5e8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125c1f",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 130.541,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.11724,
    "h": 145.6
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#125C1F
secondary
#943584
accent
#3ECCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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