#125C28#125C28

#125C28 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.109 H 148.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#125C28
RGBrgb(18, 92, 40)
HSLhsl(138, 67%, 22%)
HSVhsv(138, 80%, 36%)
CMYKcmyk(80.4%, 0%, 56.5%, 63.9%)
CIE-LABlab(33.85, -34.53, 23.57)
CIE-LCHlch(33.85, 41.81, 145.69°)
OKLaboklab(41.82% -0.0928 0.0568)
OKLCHoklch(41.82% 0.109 148.6)
XYZxyz(4.4592, 7.9356, 3.3038)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C28 #5C1246
analogous
#215C12 #125C28 #125C4D
triadic
#125C28 #28125C #5C2812
tetradic
#125C28 #12215C #5C1246 #5C4D12
square
#125C28 #12215C #5C1246 #5C4D12
split-complementary
#125C28 #4D125C #5C1221
monochromatic
#051A0B #082912 #125C28 #1C8F3E #26C255

Accessibility & contrast

On white

8.12
#125C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125C28
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C28#FFFFFF#000000##FFFFFF
##125C281.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5323
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c28;
/* rgb */ color: rgb(18, 92, 40);
/* oklch */ color: oklch(41.8% 0.109 148.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b63',
    500: '#125c28',
    950: '#000000',
  },
}
SCSS
$custom: #125c28;
$custom-light: #5d8b63;
$custom-dark: #000000;
JSON
{
  "hex": "#125c28",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 137.838,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.10882,
    "h": 148.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#125C28
secondary
#943578
accent
#3EB7EA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125C28

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

Preview Lab → · Contrast checker → · Palette generator →

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