#128023#128023

#128023 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.159 H 144.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#128023
RGBrgb(18, 128, 35)
HSLhsl(129, 75%, 29%)
HSVhsv(129, 86%, 50%)
CMYKcmyk(85.9%, 0%, 72.7%, 49.8%)
CIE-LABlab(46.56, -48.09, 40.39)
CIE-LCHlch(46.56, 62.80, 139.98°)
OKLaboklab(52.36% -0.1298 0.0924)
OKLCHoklch(52.36% 0.159 144.6)
XYZxyz(8.2714, 15.6873, 4.1818)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128023 #80126F
analogous
#388012 #128023 #12805A
triadic
#128023 #231280 #802312
tetradic
#128023 #123880 #80126F #805A12
square
#128023 #123880 #80126F #805A12
split-complementary
#128023 #5A1280 #801238
monochromatic
#041B07 #0A4A14 #128023 #1AB632 #2BE147

Accessibility & contrast

On white

5.08
#128023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#128023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128023
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128023#FFFFFF#000000##FFFFFF
##1280231.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128023;
/* rgb */ color: rgb(18, 128, 35);
/* oklch */ color: oklch(52.4% 0.159 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a663',
    500: '#128023',
    950: '#000000',
  },
}
SCSS
$custom: #128023;
$custom-light: #68a663;
$custom-dark: #000000;
JSON
{
  "hex": "#128023",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 129.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.15929,
    "h": 144.6
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #128023

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

Preview Lab → · Contrast checker → · Palette generator →

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