#125822#125822

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

Color values

HEX#125822
RGBrgb(18, 88, 34)
HSLhsl(134, 66%, 21%)
HSVhsv(134, 80%, 35%)
CMYKcmyk(79.5%, 0%, 61.4%, 65.5%)
CIE-LABlab(32.31, -33.91, 25.01)
CIE-LCHlch(32.31, 42.14, 143.60°)
OKLaboklab(40.52% -0.0913 0.0595)
OKLCHoklch(40.52% 0.109 146.9)
XYZxyz(4.0276, 7.2231, 2.6950)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125822 #581248
analogous
#255812 #125822 #125845
triadic
#125822 #221258 #582212
tetradic
#125822 #122558 #581248 #584512
square
#125822 #122558 #581248 #584512
split-complementary
#125822 #451258 #581225
monochromatic
#05190A #08250E #125822 #1C8B36 #27BE49

Accessibility & contrast

On white

8.59
#125822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125822
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125822#FFFFFF#000000##FFFFFF
##1258221.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1D
Deuteranopia (green-blind)
#514A26
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125822;
/* rgb */ color: rgb(18, 88, 34);
/* oklch */ color: oklch(40.5% 0.109 146.9);
Tailwind
colors: {
  custom: {
    50: '#5d885f',
    500: '#125822',
    950: '#000000',
  },
}
SCSS
$custom: #125822;
$custom-light: #5d885f;
$custom-dark: #000000;
JSON
{
  "hex": "#125822",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 133.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.109,
    "h": 146.9
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#125822
secondary
#91357C
accent
#3FC2E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #125822

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

Preview Lab → · Contrast checker → · Palette generator →

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