#125C18#125C18

#125C18 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.123 H 144.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#125C18
RGBrgb(18, 92, 24)
HSLhsl(125, 67%, 22%)
HSVhsv(125, 80%, 36%)
CMYKcmyk(80.4%, 0%, 73.9%, 63.9%)
CIE-LABlab(33.66, -36.73, 31.53)
CIE-LCHlch(33.66, 48.40, 139.36°)
OKLaboklab(41.61% -0.0994 0.0723)
OKLCHoklch(41.61% 0.123 144)
XYZxyz(4.2412, 7.8483, 2.1553)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C18 #5C1256
analogous
#315C12 #125C18 #125C3D
triadic
#125C18 #18125C #5C1812
tetradic
#125C18 #12315C #5C1256 #5C3D12
square
#125C18 #12315C #5C1256 #5C3D12
split-complementary
#125C18 #3D125C #5C1231
monochromatic
#051A07 #08290B #125C18 #1C8F25 #26C233

Accessibility & contrast

On white

8.17
#125C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C18
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C18#FFFFFF#000000##FFFFFF
##125C181.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c18;
/* rgb */ color: rgb(18, 92, 24);
/* oklch */ color: oklch(41.6% 0.123 144.0);
Tailwind
colors: {
  custom: {
    50: '#5e8b59',
    500: '#125c18',
    950: '#000000',
  },
}
SCSS
$custom: #125c18;
$custom-light: #5e8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#125c18",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 124.865,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.12293,
    "h": 144
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#125C18
secondary
#94358D
accent
#3EDCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C18

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

Preview Lab → · Contrast checker → · Palette generator →

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