#125819#125819

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

Color values

HEX#125819
RGBrgb(18, 88, 25)
HSLhsl(126, 66%, 21%)
HSVhsv(126, 80%, 35%)
CMYKcmyk(79.5%, 0%, 71.6%, 65.5%)
CIE-LABlab(32.21, -35.13, 29.49)
CIE-LCHlch(32.21, 45.87, 139.98°)
OKLaboklab(40.4% -0.095 0.0682)
OKLCHoklch(40.4% 0.117 144.3)
XYZxyz(3.9144, 7.1778, 2.0987)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125819 #581251
analogous
#2E5812 #125819 #12583C
triadic
#125819 #191258 #581912
tetradic
#125819 #122E58 #581251 #583C12
square
#125819 #122E58 #581251 #583C12
split-complementary
#125819 #3C1258 #58122E
monochromatic
#051907 #08250B #125819 #1C8B27 #27BE36

Accessibility & contrast

On white

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

On black

2.44
#125819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125819#FFFFFF#000000##FFFFFF
##1258191.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125819;
/* rgb */ color: rgb(18, 88, 25);
/* oklch */ color: oklch(40.4% 0.117 144.3);
Tailwind
colors: {
  custom: {
    50: '#5d8859',
    500: '#125819',
    950: '#000000',
  },
}
SCSS
$custom: #125819;
$custom-light: #5d8859;
$custom-dark: #000000;
JSON
{
  "hex": "#125819",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 126,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.11693,
    "h": 144.3
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#125819
secondary
#913587
accent
#3FD8E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #125819

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

Preview Lab → · Contrast checker → · Palette generator →

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