#128310#128310

#128310 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.1% C 0.173 H 142.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#128310
RGBrgb(18, 131, 16)
HSLhsl(119, 78%, 29%)
HSVhsv(119, 88%, 51%)
CMYKcmyk(86.3%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.49, -50.44, 47.69)
CIE-LCHlch(47.49, 69.41, 136.61°)
OKLaboklab(53.1% -0.137 0.105)
OKLCHoklch(53.1% 0.173 142.5)
XYZxyz(8.4587, 16.3976, 3.2093)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128310 #811083
analogous
#4C8310 #128310 #108348
triadic
#128310 #101283 #831012
tetradic
#128310 #104C83 #811083 #834810
square
#128310 #104C83 #811083 #834810
split-complementary
#128310 #481083 #83104C
monochromatic
#041B03 #0B4C09 #128310 #19BA17 #2CE529

Accessibility & contrast

On white

4.91
#128310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#128310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128310
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128310#FFFFFF#000000##FFFFFF
##1283101.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128310;
/* rgb */ color: rgb(18, 131, 16);
/* oklch */ color: oklch(53.1% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#6aa85b',
    500: '#128310',
    950: '#000000',
  },
}
SCSS
$custom: #128310;
$custom-light: #6aa85b;
$custom-dark: #000000;
JSON
{
  "hex": "#128310",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 118.957,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.17256,
    "h": 142.5
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#128310
secondary
#B736B9
accent
#33F5F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081004
muted
#7A7F79

Preview Lab

Preview with #128310

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

Preview Lab → · Contrast checker → · Palette generator →

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