#126728#126728

#126728 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.124 H 147.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#126728
RGBrgb(18, 103, 40)
HSLhsl(136, 70%, 24%)
HSVhsv(136, 83%, 40%)
CMYKcmyk(82.5%, 0%, 61.2%, 59.6%)
CIE-LABlab(37.81, -38.75, 28.32)
CIE-LCHlch(37.81, 47.99, 143.84°)
OKLaboklab(45.1% -0.1042 0.0672)
OKLCHoklch(45.1% 0.124 147.2)
XYZxyz(5.4823, 9.9816, 3.6448)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126728 #671251
analogous
#266712 #126728 #126752
triadic
#126728 #281267 #672812
tetradic
#126728 #122667 #671251 #675212
square
#126728 #122667 #671251 #675212
split-complementary
#126728 #521267 #671226
monochromatic
#051A0A #093314 #126728 #1B9B3C #24CF50

Accessibility & contrast

On white

7.01
#126728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#126728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126728
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126728#FFFFFF#000000##FFFFFF
##1267281.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#5F562D
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126728;
/* rgb */ color: rgb(18, 103, 40);
/* oklch */ color: oklch(45.1% 0.124 147.2);
Tailwind
colors: {
  custom: {
    50: '#609364',
    500: '#126728',
    950: '#000000',
  },
}
SCSS
$custom: #126728;
$custom-light: #609364;
$custom-dark: #000000;
JSON
{
  "hex": "#126728",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 135.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.12401,
    "h": 147.2
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#126728
secondary
#9F3684
accent
#3BBFED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126728

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

Preview Lab → · Contrast checker → · Palette generator →

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