#126928#126928

#126928 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.127 H 147.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#126928
RGBrgb(18, 105, 40)
HSLhsl(135, 71%, 24%)
HSVhsv(135, 83%, 41%)
CMYKcmyk(82.9%, 0%, 61.9%, 58.8%)
CIE-LABlab(38.52, -39.49, 29.16)
CIE-LCHlch(38.52, 49.09, 143.56°)
OKLaboklab(45.69% -0.1062 0.069)
OKLCHoklch(45.69% 0.127 147)
XYZxyz(5.6836, 10.3843, 3.7119)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126928 #691253
analogous
#286912 #126928 #126954
triadic
#126928 #281269 #692812
tetradic
#126928 #122869 #691253 #695412
square
#126928 #122869 #691253 #695412
split-complementary
#126928 #541269 #691228
monochromatic
#041A0A #093514 #126928 #1B9D3C #24D150

Accessibility & contrast

On white

6.82
#126928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#126928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126928
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126928#FFFFFF#000000##FFFFFF
##1269281.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126928;
/* rgb */ color: rgb(18, 105, 40);
/* oklch */ color: oklch(45.7% 0.127 147.0);
Tailwind
colors: {
  custom: {
    50: '#619564',
    500: '#126928',
    950: '#000000',
  },
}
SCSS
$custom: #126928;
$custom-light: #619564;
$custom-dark: #000000;
JSON
{
  "hex": "#126928",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 40
  },
  "hsl": {
    "h": 135.172,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.12668,
    "h": 147
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#126928
secondary
#A13686
accent
#3AC0ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126928

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

Preview Lab → · Contrast checker → · Palette generator →

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