#128126#128126

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

Color values

HEX#128126
RGBrgb(18, 129, 38)
HSLhsl(131, 76%, 29%)
HSVhsv(131, 86%, 51%)
CMYKcmyk(86%, 0%, 70.5%, 49.4%)
CIE-LABlab(46.93, -48.11, 39.51)
CIE-LCHlch(46.93, 62.26, 140.61°)
OKLaboklab(52.67% -0.1297 0.0909)
OKLCHoklch(52.67% 0.158 145)
XYZxyz(8.4490, 15.9680, 4.4702)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128126 #81126D
analogous
#368112 #128126 #12815E
triadic
#128126 #261281 #812612
tetradic
#128126 #123681 #81126D #815E12
square
#128126 #123681 #81126D #815E12
split-complementary
#128126 #5E1281 #811236
monochromatic
#041B08 #0B4B16 #128126 #19B736 #2CE24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128126#FFFFFF#000000##FFFFFF
##1281261.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)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128126;
/* rgb */ color: rgb(18, 129, 38);
/* oklch */ color: oklch(52.7% 0.158 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a765',
    500: '#128126',
    950: '#000000',
  },
}
SCSS
$custom: #128126;
$custom-light: #68a765;
$custom-dark: #000000;
JSON
{
  "hex": "#128126",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 130.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.15839,
    "h": 145
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#128126
secondary
#B738A0
accent
#36D0F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128126

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

Preview Lab → · Contrast checker → · Palette generator →

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