#125F12#125F12

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

Color values

HEX#125F12
RGBrgb(18, 95, 18)
HSLhsl(120, 68%, 22%)
HSVhsv(120, 81%, 37%)
CMYKcmyk(81.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.71, -38.38, 35.11)
CIE-LCHlch(34.71, 52.01, 137.55°)
OKLaboklab(42.46% -0.1042 0.079)
OKLCHoklch(42.46% 0.131 142.8)
XYZxyz(4.4506, 8.3562, 1.9505)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F12 #5F125F
analogous
#395F12 #125F12 #125F39
triadic
#125F12 #12125F #5F1212
tetradic
#125F12 #12395F #5F125F #5F3912
square
#125F12 #12395F #5F125F #5F3912
split-complementary
#125F12 #39125F #5F1239
monochromatic
#051A05 #082C08 #125F12 #1C921C #25C625

Accessibility & contrast

On white

7.86
#125F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F12
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F12#FFFFFF#000000##FFFFFF
##125F121.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f12;
/* rgb */ color: rgb(18, 95, 18);
/* oklch */ color: oklch(42.5% 0.131 142.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d56',
    500: '#125f12',
    950: '#000000',
  },
}
SCSS
$custom: #125f12;
$custom-light: #5f8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#125f12",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.13071,
    "h": 142.8
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#125F12
secondary
#973697
accent
#3DEBEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #125F12

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

Preview Lab → · Contrast checker → · Palette generator →

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