#125D0F#125D0F

#125D0F is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.8% C 0.130 H 142.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#125D0F
RGBrgb(18, 93, 15)
HSLhsl(118, 72%, 21%)
HSVhsv(118, 84%, 36%)
CMYKcmyk(80.6%, 0%, 83.9%, 63.5%)
CIE-LABlab(33.96, -37.90, 35.48)
CIE-LCHlch(33.96, 51.92, 136.89°)
OKLaboklab(41.83% -0.103 0.0793)
OKLCHoklch(41.83% 0.13 142.4)
XYZxyz(4.2498, 7.9913, 1.7703)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D0F #5A0F5D
analogous
#395D0F #125D0F #0F5D33
triadic
#125D0F #0F125D #5D0F12
tetradic
#125D0F #0F395D #5A0F5D #5D330F
square
#125D0F #0F395D #5A0F5D #5D330F
split-complementary
#125D0F #330F5D #5D0F39
monochromatic
#051A04 #082806 #125D0F #1C9217 #26C620

Accessibility & contrast

On white

8.08
#125D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D0F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D0F#FFFFFF#000000##FFFFFF
##125D0F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#005A4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d0f;
/* rgb */ color: rgb(18, 93, 15);
/* oklch */ color: oklch(41.8% 0.130 142.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c54',
    500: '#125d0f',
    950: '#000000',
  },
}
SCSS
$custom: #125d0f;
$custom-light: #5f8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#125d0f",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 117.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.13,
    "h": 142.4
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#125D0F
secondary
#933196
accent
#39EFE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #125D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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