#126832#126832

#126832 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.116 H 150.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#126832
RGBrgb(18, 104, 50)
HSLhsl(142, 70%, 24%)
HSVhsv(142, 83%, 41%)
CMYKcmyk(82.7%, 0%, 51.9%, 59.2%)
CIE-LABlab(38.30, -37.50, 23.50)
CIE-LCHlch(38.30, 44.26, 147.92°)
OKLaboklab(45.55% -0.1007 0.0572)
OKLCHoklch(45.55% 0.116 150.4)
XYZxyz(5.7750, 10.2588, 4.6928)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126832 #681248
analogous
#1D6812 #126832 #12685D
triadic
#126832 #321268 #683212
tetradic
#126832 #121D68 #681248 #685D12
square
#126832 #121D68 #681248 #685D12
split-complementary
#126832 #5D1268 #68121D
monochromatic
#051A0D #093419 #126832 #1B9C4B #24D064

Accessibility & contrast

On white

6.88
#126832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#126832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126832
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126832#FFFFFF#000000##FFFFFF
##1268321.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2E
Deuteranopia (green-blind)
#5F5736
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126832;
/* rgb */ color: rgb(18, 104, 50);
/* oklch */ color: oklch(45.6% 0.116 150.4);
Tailwind
colors: {
  custom: {
    50: '#60946b',
    500: '#126832',
    950: '#000000',
  },
}
SCSS
$custom: #126832;
$custom-light: #60946b;
$custom-dark: #000000;
JSON
{
  "hex": "#126832",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 50
  },
  "hsl": {
    "h": 142.326,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.11582,
    "h": 150.4
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#126832
secondary
#A03678
accent
#3BABED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126832

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

Preview Lab → · Contrast checker → · Palette generator →

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