#126828#126828

#126828 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.125 H 147.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#126828
RGBrgb(18, 104, 40)
HSLhsl(135, 70%, 24%)
HSVhsv(135, 83%, 41%)
CMYKcmyk(82.7%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.17, -39.12, 28.74)
CIE-LCHlch(38.17, 48.54, 143.70°)
OKLaboklab(45.4% -0.1052 0.0681)
OKLCHoklch(45.4% 0.125 147.1)
XYZxyz(5.5823, 10.1818, 3.6781)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126828 #681252
analogous
#276812 #126828 #126853
triadic
#126828 #281268 #682812
tetradic
#126828 #122768 #681252 #685312
square
#126828 #122768 #681252 #685312
split-complementary
#126828 #531268 #681227
monochromatic
#051A0A #093414 #126828 #1B9C3C #24D050

Accessibility & contrast

On white

6.92
#126828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#126828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126828
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126828#FFFFFF#000000##FFFFFF
##1268281.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126828;
/* rgb */ color: rgb(18, 104, 40);
/* oklch */ color: oklch(45.4% 0.125 147.1);
Tailwind
colors: {
  custom: {
    50: '#619464',
    500: '#126828',
    950: '#000000',
  },
}
SCSS
$custom: #126828;
$custom-light: #619464;
$custom-dark: #000000;
JSON
{
  "hex": "#126828",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 135.349,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.12535,
    "h": 147.1
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#126828
secondary
#A03685
accent
#3BC0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126828

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

Preview Lab → · Contrast checker → · Palette generator →

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