#125F0F#125F0F

#125F0F is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.132 H 142.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#125F0F
RGBrgb(18, 95, 15)
HSLhsl(118, 73%, 22%)
HSVhsv(118, 84%, 37%)
CMYKcmyk(81.1%, 0%, 84.2%, 62.7%)
CIE-LABlab(34.70, -38.61, 36.18)
CIE-LCHlch(34.70, 52.91, 136.86°)
OKLaboklab(42.44% -0.1049 0.0807)
OKLCHoklch(42.44% 0.132 142.4)
XYZxyz(4.4276, 8.3470, 1.8296)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F0F #5C0F5F
analogous
#3A5F0F #125F0F #0F5F34
triadic
#125F0F #0F125F #5F0F12
tetradic
#125F0F #0F3A5F #5C0F5F #5F340F
square
#125F0F #0F3A5F #5C0F5F #5F340F
split-complementary
#125F0F #340F5F #5F0F3A
monochromatic
#051A04 #082A07 #125F0F #1C9417 #26C920

Accessibility & contrast

On white

7.87
#125F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F0F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F0F#FFFFFF#000000##FFFFFF
##125F0F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125f0f;
/* rgb */ color: rgb(18, 95, 15);
/* oklch */ color: oklch(42.4% 0.132 142.4);
Tailwind
colors: {
  custom: {
    50: '#608d55',
    500: '#125f0f',
    950: '#000000',
  },
}
SCSS
$custom: #125f0f;
$custom-light: #608d55;
$custom-dark: #000000;
JSON
{
  "hex": "#125f0f",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 117.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.13241,
    "h": 142.4
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#125F0F
secondary
#943298
accent
#38EFE9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #125F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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