#128123#128123

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

Color values

HEX#128123
RGBrgb(18, 129, 35)
HSLhsl(129, 76%, 29%)
HSVhsv(129, 86%, 51%)
CMYKcmyk(86%, 0%, 72.9%, 49.4%)
CIE-LABlab(46.91, -48.42, 40.75)
CIE-LCHlch(46.91, 63.28, 139.92°)
OKLaboklab(52.64% -0.1307 0.0931)
OKLCHoklch(52.64% 0.16 144.5)
XYZxyz(8.4025, 15.9494, 4.2255)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128123 #811270
analogous
#398112 #128123 #12815B
triadic
#128123 #231281 #812312
tetradic
#128123 #123981 #811270 #815B12
square
#128123 #123981 #811270 #815B12
split-complementary
#128123 #5B1281 #811239
monochromatic
#041B07 #0B4B14 #128123 #19B732 #2CE248

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128123#FFFFFF#000000##FFFFFF
##1281231.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)
#837414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128123;
/* rgb */ color: rgb(18, 129, 35);
/* oklch */ color: oklch(52.6% 0.160 144.5);
Tailwind
colors: {
  custom: {
    50: '#68a764',
    500: '#128123',
    950: '#000000',
  },
}
SCSS
$custom: #128123;
$custom-light: #68a764;
$custom-dark: #000000;
JSON
{
  "hex": "#128123",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 129.189,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.16046,
    "h": 144.5
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#128123
secondary
#B738A3
accent
#36D5F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128123

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

Preview Lab → · Contrast checker → · Palette generator →

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