#125C2B#125C2B

#125C2B is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.106 H 149.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#125C2B
RGBrgb(18, 92, 43)
HSLhsl(140, 67%, 22%)
HSVhsv(140, 80%, 36%)
CMYKcmyk(80.4%, 0%, 53.3%, 63.9%)
CIE-LABlab(33.89, -34.01, 21.93)
CIE-LCHlch(33.89, 40.47, 147.18°)
OKLaboklab(41.87% -0.0914 0.0533)
OKLCHoklch(41.87% 0.106 149.8)
XYZxyz(4.5123, 7.9568, 3.5830)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C2B #5C1243
analogous
#1E5C12 #125C2B #125C50
triadic
#125C2B #2B125C #5C2B12
tetradic
#125C2B #121E5C #5C1243 #5C5012
square
#125C2B #121E5C #5C1243 #5C5012
split-complementary
#125C2B #50125C #5C121E
monochromatic
#051A0C #082913 #125C2B #1C8F43 #26C25B

Accessibility & contrast

On white

8.10
#125C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C2B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C2B#FFFFFF#000000##FFFFFF
##125C2B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5327
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c2b;
/* rgb */ color: rgb(18, 92, 43);
/* oklch */ color: oklch(41.9% 0.106 149.8);
Tailwind
colors: {
  custom: {
    50: '#5d8b65',
    500: '#125c2b',
    950: '#000000',
  },
}
SCSS
$custom: #125c2b;
$custom-light: #5d8b65;
$custom-dark: #000000;
JSON
{
  "hex": "#125c2b",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 140.27,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.10581,
    "h": 149.8
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#125C2B
secondary
#943574
accent
#3EB0EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125C2B

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

Preview Lab → · Contrast checker → · Palette generator →

#125C2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva