#125A28#125A28

#125A28 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.106 H 148.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#125A28
RGBrgb(18, 90, 40)
HSLhsl(138, 67%, 21%)
HSVhsv(138, 80%, 35%)
CMYKcmyk(80%, 0%, 55.6%, 64.7%)
CIE-LABlab(33.12, -33.73, 22.67)
CIE-LCHlch(33.12, 40.64, 146.09°)
OKLaboklab(41.22% -0.0907 0.0548)
OKLCHoklch(41.22% 0.106 148.9)
XYZxyz(4.2883, 7.5936, 3.2468)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A28 #5A1244
analogous
#205A12 #125A28 #125A4C
triadic
#125A28 #28125A #5A2812
tetradic
#125A28 #12205A #5A1244 #5A4C12
square
#125A28 #12205A #5A1244 #5A4C12
split-complementary
#125A28 #4C125A #5A1220
monochromatic
#051A0B #082711 #125A28 #1C8D3F #26C055

Accessibility & contrast

On white

8.34
#125A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A28
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A28#FFFFFF#000000##FFFFFF
##125A281.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5124
Deuteranopia (green-blind)
#524C2C
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a28;
/* rgb */ color: rgb(18, 90, 40);
/* oklch */ color: oklch(41.2% 0.106 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8963',
    500: '#125a28',
    950: '#000000',
  },
}
SCSS
$custom: #125a28;
$custom-light: #5d8963;
$custom-dark: #000000;
JSON
{
  "hex": "#125a28",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 138.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.10596,
    "h": 148.9
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#125A28
secondary
#933576
accent
#3EB5EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125A28

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

Preview Lab → · Contrast checker → · Palette generator →

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