#125825#125825

#125825 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.106 H 148.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#125825
RGBrgb(18, 88, 37)
HSLhsl(136, 66%, 21%)
HSVhsv(136, 80%, 35%)
CMYKcmyk(79.5%, 0%, 58%, 65.5%)
CIE-LABlab(32.35, -33.44, 23.41)
CIE-LCHlch(32.35, 40.82, 145.00°)
OKLaboklab(40.56% -0.09 0.0562)
OKLCHoklch(40.56% 0.106 148)
XYZxyz(4.0728, 7.2411, 2.9329)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125825 #581245
analogous
#225812 #125825 #125848
triadic
#125825 #251258 #582512
tetradic
#125825 #122258 #581245 #584812
square
#125825 #122258 #581245 #584812
split-complementary
#125825 #481258 #581222
monochromatic
#05190B #082510 #125825 #1C8B3A #27BE50

Accessibility & contrast

On white

8.58
#125825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125825
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125825#FFFFFF#000000##FFFFFF
##1258251.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595020
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125825;
/* rgb */ color: rgb(18, 88, 37);
/* oklch */ color: oklch(40.6% 0.106 148.0);
Tailwind
colors: {
  custom: {
    50: '#5c8861',
    500: '#125825',
    950: '#000000',
  },
}
SCSS
$custom: #125825;
$custom-light: #5c8861;
$custom-dark: #000000;
JSON
{
  "hex": "#125825",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 37
  },
  "hsl": {
    "h": 136.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.10609,
    "h": 148
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#125825
secondary
#913578
accent
#3FBBE9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125825

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

Preview Lab → · Contrast checker → · Palette generator →

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