#125824#125824

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

Color values

HEX#125824
RGBrgb(18, 88, 36)
HSLhsl(135, 66%, 21%)
HSVhsv(135, 80%, 35%)
CMYKcmyk(79.5%, 0%, 59.1%, 65.5%)
CIE-LABlab(32.34, -33.60, 23.95)
CIE-LCHlch(32.34, 41.26, 144.52°)
OKLaboklab(40.55% -0.0904 0.0573)
OKLCHoklch(40.55% 0.107 147.6)
XYZxyz(4.0573, 7.2350, 2.8514)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125824 #581246
analogous
#235812 #125824 #125847
triadic
#125824 #241258 #582412
tetradic
#125824 #122358 #581246 #584712
square
#125824 #122358 #581246 #584712
split-complementary
#125824 #471258 #581223
monochromatic
#05190A #08250F #125824 #1C8B39 #27BE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125824#FFFFFF#000000##FFFFFF
##1258241.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)
#594F1F
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125824;
/* rgb */ color: rgb(18, 88, 36);
/* oklch */ color: oklch(40.5% 0.107 147.6);
Tailwind
colors: {
  custom: {
    50: '#5c8860',
    500: '#125824',
    950: '#000000',
  },
}
SCSS
$custom: #125824;
$custom-light: #5c8860;
$custom-dark: #000000;
JSON
{
  "hex": "#125824",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 36
  },
  "hsl": {
    "h": 135.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.10707,
    "h": 147.6
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#125824
secondary
#913579
accent
#3FBDE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125824

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

Preview Lab → · Contrast checker → · Palette generator →

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