#128125#128125

#128125 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.159 H 144.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#128125
RGBrgb(18, 129, 37)
HSLhsl(130, 76%, 29%)
HSVhsv(130, 86%, 51%)
CMYKcmyk(86%, 0%, 71.3%, 49.4%)
CIE-LABlab(46.92, -48.22, 39.93)
CIE-LCHlch(46.92, 62.60, 140.37°)
OKLaboklab(52.66% -0.13 0.0917)
OKLCHoklch(52.66% 0.159 144.8)
XYZxyz(8.4330, 15.9616, 4.3864)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128125 #81126E
analogous
#378112 #128125 #12815D
triadic
#128125 #251281 #812512
tetradic
#128125 #123781 #81126E #815D12
square
#128125 #123781 #81126E #815D12
split-complementary
#128125 #5D1281 #811237
monochromatic
#041B08 #0B4B16 #128125 #19B734 #2CE24B

Accessibility & contrast

On white

5.01
#128125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#128125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128125
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128125#FFFFFF#000000##FFFFFF
##1281251.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128125;
/* rgb */ color: rgb(18, 129, 37);
/* oklch */ color: oklch(52.7% 0.159 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a765',
    500: '#128125',
    950: '#000000',
  },
}
SCSS
$custom: #128125;
$custom-light: #68a765;
$custom-dark: #000000;
JSON
{
  "hex": "#128125",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 130.27,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.15909,
    "h": 144.8
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#128125
secondary
#B738A1
accent
#36D2F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128125

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

Preview Lab → · Contrast checker → · Palette generator →

#128125 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva