#125C2D#125C2D

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

Color values

HEX#125C2D
RGBrgb(18, 92, 45)
HSLhsl(142, 67%, 22%)
HSVhsv(142, 80%, 36%)
CMYKcmyk(80.4%, 0%, 51.1%, 63.9%)
CIE-LABlab(33.92, -33.64, 20.83)
CIE-LCHlch(33.92, 39.57, 148.24°)
OKLaboklab(41.9% -0.0904 0.0509)
OKLCHoklch(41.9% 0.104 150.6)
XYZxyz(4.5499, 7.9718, 3.7810)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C2D #5C1241
analogous
#1C5C12 #125C2D #125C52
triadic
#125C2D #2D125C #5C2D12
tetradic
#125C2D #121C5C #5C1241 #5C5212
square
#125C2D #121C5C #5C1241 #5C5212
split-complementary
#125C2D #52125C #5C121C
monochromatic
#051A0D #082914 #125C2D #1C8F46 #26C25F

Accessibility & contrast

On white

8.09
#125C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125C2D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C2D#FFFFFF#000000##FFFFFF
##125C2D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125c2d;
/* rgb */ color: rgb(18, 92, 45);
/* oklch */ color: oklch(41.9% 0.104 150.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b67',
    500: '#125c2d',
    950: '#000000',
  },
}
SCSS
$custom: #125c2d;
$custom-light: #5d8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#125c2d",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 141.892,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.10377,
    "h": 150.6
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#125C2D
secondary
#943572
accent
#3EABEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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