#126835#126835

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

Color values

HEX#126835
RGBrgb(18, 104, 53)
HSLhsl(144, 70%, 24%)
HSVhsv(144, 83%, 41%)
CMYKcmyk(82.7%, 0%, 49%, 59.2%)
CIE-LABlab(38.35, -36.95, 21.87)
CIE-LCHlch(38.35, 42.94, 149.37°)
OKLaboklab(45.61% -0.0993 0.0536)
OKLCHoklch(45.61% 0.113 151.6)
XYZxyz(5.8419, 10.2856, 5.0449)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126835 #681245
analogous
#1A6812 #126835 #126860
triadic
#126835 #351268 #683512
tetradic
#126835 #121A68 #681245 #686012
square
#126835 #121A68 #681245 #686012
split-complementary
#126835 #601268 #68121A
monochromatic
#051A0D #09341A #126835 #1B9C50 #24D06A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126835#FFFFFF#000000##FFFFFF
##1268351.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)
#685E31
Deuteranopia (green-blind)
#5F5839
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126835;
/* rgb */ color: rgb(18, 104, 53);
/* oklch */ color: oklch(45.6% 0.113 151.6);
Tailwind
colors: {
  custom: {
    50: '#60946d',
    500: '#126835',
    950: '#000000',
  },
}
SCSS
$custom: #126835;
$custom-light: #60946d;
$custom-dark: #000000;
JSON
{
  "hex": "#126835",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 53
  },
  "hsl": {
    "h": 144.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.11282,
    "h": 151.6
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#126835
secondary
#A03675
accent
#3BA5ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126835

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

Preview Lab → · Contrast checker → · Palette generator →

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