#126336#126336

#126336 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.105 H 153.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#126336
RGBrgb(18, 99, 54)
HSLhsl(147, 69%, 23%)
HSVhsv(147, 82%, 39%)
CMYKcmyk(81.8%, 0%, 45.5%, 61.2%)
CIE-LABlab(36.59, -34.74, 19.03)
CIE-LCHlch(36.59, 39.61, 151.29°)
OKLaboklab(44.16% -0.0935 0.0471)
OKLCHoklch(44.16% 0.105 153.3)
XYZxyz(5.3767, 9.3180, 5.0045)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126336 #63123F
analogous
#166312 #126336 #12635E
triadic
#126336 #361263 #633612
tetradic
#126336 #121663 #63123F #635E12
square
#126336 #121663 #63123F #635E12
split-complementary
#126336 #5E1263 #631216
monochromatic
#051A0E #092F1A #126336 #1B9752 #25CB6E

Accessibility & contrast

On white

7.33
#126336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126336
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126336#FFFFFF#000000##FFFFFF
##1263361.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A33
Deuteranopia (green-blind)
#5A5339
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126336;
/* rgb */ color: rgb(18, 99, 54);
/* oklch */ color: oklch(44.2% 0.105 153.3);
Tailwind
colors: {
  custom: {
    50: '#5f906d',
    500: '#126336',
    950: '#000000',
  },
}
SCSS
$custom: #126336;
$custom-light: #5f906d;
$custom-dark: #000000;
JSON
{
  "hex": "#126336",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 54
  },
  "hsl": {
    "h": 146.667,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.10466,
    "h": 153.3
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#126336
secondary
#9B366E
accent
#3C9EEC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050D07
muted
#797D7A

Preview Lab

Preview with #126336

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

Preview Lab → · Contrast checker → · Palette generator →

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