#125D2B#125D2B

#125D2B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.107 H 149.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#125D2B
RGBrgb(18, 93, 43)
HSLhsl(140, 68%, 22%)
HSVhsv(140, 81%, 36%)
CMYKcmyk(80.6%, 0%, 53.8%, 63.5%)
CIE-LABlab(34.25, -34.41, 22.38)
CIE-LCHlch(34.25, 41.05, 146.96°)
OKLaboklab(42.17% -0.0925 0.0543)
OKLCHoklch(42.17% 0.107 149.6)
XYZxyz(4.5995, 8.1312, 3.6121)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2B #5D1244
analogous
#1F5D12 #125D2B #125D51
triadic
#125D2B #2B125D #5D2B12
tetradic
#125D2B #121F5D #5D1244 #5D5112
square
#125D2B #121F5D #5D1244 #5D5112
split-complementary
#125D2B #51125D #5D121F
monochromatic
#051A0C #082A13 #125D2B #1C9043 #26C45A

Accessibility & contrast

On white

8.00
#125D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D2B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D2B#FFFFFF#000000##FFFFFF
##125D2B1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5427
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d2b;
/* rgb */ color: rgb(18, 93, 43);
/* oklch */ color: oklch(42.2% 0.107 149.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c65',
    500: '#125d2b',
    950: '#000000',
  },
}
SCSS
$custom: #125d2b;
$custom-light: #5e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2b",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 140,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.10725,
    "h": 149.6
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#125D2B
secondary
#953575
accent
#3DB1EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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