#126936#126936

#126936 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.113 H 151.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#126936
RGBrgb(18, 105, 54)
HSLhsl(145, 71%, 24%)
HSVhsv(145, 83%, 41%)
CMYKcmyk(82.9%, 0%, 48.6%, 58.8%)
CIE-LABlab(38.72, -37.15, 21.78)
CIE-LCHlch(38.72, 43.07, 149.62°)
OKLaboklab(45.92% -0.0998 0.0534)
OKLCHoklch(45.92% 0.113 151.8)
XYZxyz(5.9663, 10.4974, 5.2011)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126936 #691245
analogous
#196912 #126936 #126962
triadic
#126936 #361269 #693612
tetradic
#126936 #121969 #691245 #696212
square
#126936 #121969 #691245 #696212
split-complementary
#126936 #621269 #691219
monochromatic
#041A0D #09351B #126936 #1B9D51 #24D16C

Accessibility & contrast

On white

6.78
#126936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126936
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126936#FFFFFF#000000##FFFFFF
##1269361.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F32
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126936;
/* rgb */ color: rgb(18, 105, 54);
/* oklch */ color: oklch(45.9% 0.113 151.8);
Tailwind
colors: {
  custom: {
    50: '#61956e',
    500: '#126936',
    950: '#000000',
  },
}
SCSS
$custom: #126936;
$custom-light: #61956e;
$custom-dark: #000000;
JSON
{
  "hex": "#126936",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 54
  },
  "hsl": {
    "h": 144.828,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.11322,
    "h": 151.8
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#126936
secondary
#A13675
accent
#3AA3ED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126936

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

Preview Lab → · Contrast checker → · Palette generator →

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