#128046#128046

#128046 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.129 H 153.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#128046
RGBrgb(18, 128, 70)
HSLhsl(148, 75%, 29%)
HSVhsv(148, 86%, 50%)
CMYKcmyk(85.9%, 0%, 45.3%, 49.8%)
CIE-LABlab(46.98, -42.97, 23.44)
CIE-LCHlch(46.98, 48.95, 151.39°)
OKLaboklab(52.84% -0.1154 0.0579)
OKLCHoklch(52.84% 0.129 153.4)
XYZxyz(9.0733, 16.0080, 8.4048)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128046 #80124C
analogous
#158012 #128046 #12807D
triadic
#128046 #461280 #804612
tetradic
#128046 #121580 #80124C #807D12
square
#128046 #121580 #80124C #807D12
split-complementary
#128046 #7D1280 #801215
monochromatic
#041B0F #0A4A29 #128046 #1AB663 #2BE181

Accessibility & contrast

On white

5.00
#128046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#128046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128046
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128046#FFFFFF#000000##FFFFFF
##1280461.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807542
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128046;
/* rgb */ color: rgb(18, 128, 70);
/* oklch */ color: oklch(52.8% 0.129 153.4);
Tailwind
colors: {
  custom: {
    50: '#66a67a',
    500: '#128046',
    950: '#000000',
  },
}
SCSS
$custom: #128046;
$custom-light: #66a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#128046",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 70
  },
  "hsl": {
    "h": 148.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.12912,
    "h": 153.4
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#128046
secondary
#B6387A
accent
#3699F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #128046

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

Preview Lab → · Contrast checker → · Palette generator →

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