#125918#125918

#125918 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.119 H 144.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#125918
RGBrgb(18, 89, 24)
HSLhsl(125, 66%, 21%)
HSVhsv(125, 80%, 35%)
CMYKcmyk(79.8%, 0%, 73%, 65.1%)
CIE-LABlab(32.57, -35.62, 30.35)
CIE-LCHlch(32.57, 46.80, 139.56°)
OKLaboklab(40.69% -0.0964 0.0699)
OKLCHoklch(40.69% 0.119 144.1)
XYZxyz(3.9864, 7.3388, 2.0704)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125918 #591253
analogous
#2F5912 #125918 #12593B
triadic
#125918 #181259 #591812
tetradic
#125918 #122F59 #591253 #593B12
square
#125918 #122F59 #591253 #593B12
split-complementary
#125918 #3B1259 #59122F
monochromatic
#051907 #08260A #125918 #1C8C26 #27BF33

Accessibility & contrast

On white

8.51
#125918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125918
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125918#FFFFFF#000000##FFFFFF
##1259181.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125918;
/* rgb */ color: rgb(18, 89, 24);
/* oklch */ color: oklch(40.7% 0.119 144.1);
Tailwind
colors: {
  custom: {
    50: '#5d8959',
    500: '#125918',
    950: '#000000',
  },
}
SCSS
$custom: #125918;
$custom-light: #5d8959;
$custom-dark: #000000;
JSON
{
  "hex": "#125918",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 125.07,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.11903,
    "h": 144.1
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#125918
secondary
#92358A
accent
#3FDBE9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125918

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

Preview Lab → · Contrast checker → · Palette generator →

#125918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva