#125922#125922

#125922 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.110 H 146.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#125922
RGBrgb(18, 89, 34)
HSLhsl(134, 66%, 21%)
HSVhsv(134, 80%, 35%)
CMYKcmyk(79.8%, 0%, 61.8%, 65.1%)
CIE-LABlab(32.68, -34.31, 25.44)
CIE-LCHlch(32.68, 42.71, 143.44°)
OKLaboklab(40.82% -0.0924 0.0604)
OKLCHoklch(40.82% 0.11 146.8)
XYZxyz(4.1103, 7.3884, 2.7225)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125922 #591249
analogous
#255912 #125922 #125945
triadic
#125922 #221259 #592212
tetradic
#125922 #122559 #591249 #594512
square
#125922 #122559 #591249 #594512
split-complementary
#125922 #451259 #591225
monochromatic
#05190A #08260F #125922 #1C8C35 #27BF49

Accessibility & contrast

On white

8.48
#125922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125922 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125922
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125922#FFFFFF#000000##FFFFFF
##1259221.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501D
Deuteranopia (green-blind)
#524B26
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125922;
/* rgb */ color: rgb(18, 89, 34);
/* oklch */ color: oklch(40.8% 0.110 146.8);
Tailwind
colors: {
  custom: {
    50: '#5d895f',
    500: '#125922',
    950: '#000000',
  },
}
SCSS
$custom: #125922;
$custom-light: #5d895f;
$custom-dark: #000000;
JSON
{
  "hex": "#125922",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 34
  },
  "hsl": {
    "h": 133.521,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.1104,
    "h": 146.8
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#125922
secondary
#92357D
accent
#3FC3E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #125922

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

Preview Lab → · Contrast checker → · Palette generator →

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