#125F1C#125F1C

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

Color values

HEX#125F1C
RGBrgb(18, 95, 28)
HSLhsl(128, 68%, 22%)
HSVhsv(128, 81%, 37%)
CMYKcmyk(81.1%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.80, -37.38, 30.89)
CIE-LCHlch(34.80, 48.49, 140.43°)
OKLaboklab(42.56% -0.101 0.0715)
OKLCHoklch(42.56% 0.124 144.7)
XYZxyz(4.5510, 8.3963, 2.4792)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F1C #5F1255
analogous
#2F5F12 #125F1C #125F43
triadic
#125F1C #1C125F #5F1C12
tetradic
#125F1C #122F5F #5F1255 #5F4312
square
#125F1C #122F5F #5F1255 #5F4312
split-complementary
#125F1C #43125F #5F122F
monochromatic
#051A08 #082C0D #125F1C #1C922B #25C63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F1C#FFFFFF#000000##FFFFFF
##125F1C1.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)
#615513
Deuteranopia (green-blind)
#585022
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f1c;
/* rgb */ color: rgb(18, 95, 28);
/* oklch */ color: oklch(42.6% 0.124 144.7);
Tailwind
colors: {
  custom: {
    50: '#5f8d5c',
    500: '#125f1c',
    950: '#000000',
  },
}
SCSS
$custom: #125f1c;
$custom-light: #5f8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125f1c",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 127.792,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.12372,
    "h": 144.7
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#125F1C
secondary
#97368B
accent
#3DD4EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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