#125818#125818

#125818 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.118 H 144.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#125818
RGBrgb(18, 88, 24)
HSLhsl(125, 66%, 21%)
HSVhsv(125, 80%, 35%)
CMYKcmyk(79.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.20, -35.24, 29.96)
CIE-LCHlch(32.20, 46.25, 139.63°)
OKLaboklab(40.39% -0.0953 0.069)
OKLCHoklch(40.39% 0.118 144.1)
XYZxyz(3.9038, 7.1735, 2.0429)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125818 #581252
analogous
#2F5812 #125818 #12583B
triadic
#125818 #181258 #581812
tetradic
#125818 #122F58 #581252 #583B12
square
#125818 #122F58 #581252 #583B12
split-complementary
#125818 #3B1258 #58122F
monochromatic
#051907 #08250A #125818 #1C8B26 #27BE34

Accessibility & contrast

On white

8.62
#125818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#125818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125818
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125818#FFFFFF#000000##FFFFFF
##1258181.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125818;
/* rgb */ color: rgb(18, 88, 24);
/* oklch */ color: oklch(40.4% 0.118 144.1);
Tailwind
colors: {
  custom: {
    50: '#5d8858',
    500: '#125818',
    950: '#000000',
  },
}
SCSS
$custom: #125818;
$custom-light: #5d8858;
$custom-dark: #000000;
JSON
{
  "hex": "#125818",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 125.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.11771,
    "h": 144.1
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#125818
secondary
#913589
accent
#3FDAE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125818

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

Preview Lab → · Contrast checker → · Palette generator →

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