#126834#126834

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

Color values

HEX#126834
RGBrgb(18, 104, 52)
HSLhsl(144, 70%, 24%)
HSVhsv(144, 83%, 41%)
CMYKcmyk(82.7%, 0%, 50%, 59.2%)
CIE-LABlab(38.33, -37.13, 22.42)
CIE-LCHlch(38.33, 43.38, 148.88°)
OKLaboklab(45.59% -0.0997 0.0548)
OKLCHoklch(45.59% 0.114 151.2)
XYZxyz(5.8191, 10.2765, 4.9250)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126834 #681246
analogous
#1B6812 #126834 #12685F
triadic
#126834 #341268 #683412
tetradic
#126834 #121B68 #681246 #685F12
square
#126834 #121B68 #681246 #685F12
split-complementary
#126834 #5F1268 #68121B
monochromatic
#051A0D #09341A #126834 #1B9C4E #24D068

Accessibility & contrast

On white

6.87
#126834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#126834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126834
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126834#FFFFFF#000000##FFFFFF
##1268341.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E30
Deuteranopia (green-blind)
#5F5738
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126834;
/* rgb */ color: rgb(18, 104, 52);
/* oklch */ color: oklch(45.6% 0.114 151.2);
Tailwind
colors: {
  custom: {
    50: '#60946c',
    500: '#126834',
    950: '#000000',
  },
}
SCSS
$custom: #126834;
$custom-light: #60946c;
$custom-dark: #000000;
JSON
{
  "hex": "#126834",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 52
  },
  "hsl": {
    "h": 143.721,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.11383,
    "h": 151.2
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#126834
secondary
#A03676
accent
#3BA7ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126834

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

Preview Lab → · Contrast checker → · Palette generator →

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