#125B28#125B28

#125B28 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.107 H 148.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#125B28
RGBrgb(18, 91, 40)
HSLhsl(138, 67%, 21%)
HSVhsv(138, 80%, 36%)
CMYKcmyk(80.2%, 0%, 56%, 64.3%)
CIE-LABlab(33.49, -34.13, 23.12)
CIE-LCHlch(33.49, 41.23, 145.89°)
OKLaboklab(41.52% -0.0918 0.0558)
OKLCHoklch(41.52% 0.107 148.7)
XYZxyz(4.3732, 7.7635, 3.2751)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B28 #5B1245
analogous
#215B12 #125B28 #125B4D
triadic
#125B28 #28125B #5B2812
tetradic
#125B28 #12215B #5B1245 #5B4D12
square
#125B28 #12215B #5B1245 #5B4D12
split-complementary
#125B28 #4D125B #5B1221
monochromatic
#051A0B #082812 #125B28 #1C8E3E #26C155

Accessibility & contrast

On white

8.23
#125B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B28
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B28#FFFFFF#000000##FFFFFF
##125B281.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b28;
/* rgb */ color: rgb(18, 91, 40);
/* oklch */ color: oklch(41.5% 0.107 148.7);
Tailwind
colors: {
  custom: {
    50: '#5d8a63',
    500: '#125b28',
    950: '#000000',
  },
}
SCSS
$custom: #125b28;
$custom-light: #5d8a63;
$custom-dark: #000000;
JSON
{
  "hex": "#125b28",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 138.082,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41516,
    "c": 0.1074,
    "h": 148.7
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#125B28
secondary
#933577
accent
#3EB6EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125B28

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

Preview Lab → · Contrast checker → · Palette generator →

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