#126335#126335

#126335 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.1% C 0.106 H 152.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#126335
RGBrgb(18, 99, 53)
HSLhsl(146, 69%, 23%)
HSVhsv(146, 82%, 39%)
CMYKcmyk(81.8%, 0%, 46.5%, 61.2%)
CIE-LABlab(36.57, -34.94, 19.59)
CIE-LCHlch(36.57, 40.06, 150.72°)
OKLaboklab(44.14% -0.094 0.0483)
OKLCHoklch(44.14% 0.106 152.8)
XYZxyz(5.3534, 9.3087, 4.8821)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126335 #631240
analogous
#176312 #126335 #12635D
triadic
#126335 #351263 #633512
tetradic
#126335 #121763 #631240 #635D12
square
#126335 #121763 #631240 #635D12
split-complementary
#126335 #5D1263 #631217
monochromatic
#051A0E #092F19 #126335 #1B9751 #25CB6C

Accessibility & contrast

On white

7.34
#126335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126335
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126335#FFFFFF#000000##FFFFFF
##1263351.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126335;
/* rgb */ color: rgb(18, 99, 53);
/* oklch */ color: oklch(44.1% 0.106 152.8);
Tailwind
colors: {
  custom: {
    50: '#5f906d',
    500: '#126335',
    950: '#000000',
  },
}
SCSS
$custom: #126335;
$custom-light: #5f906d;
$custom-dark: #000000;
JSON
{
  "hex": "#126335",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 53
  },
  "hsl": {
    "h": 145.926,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.10569,
    "h": 152.8
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#126335
secondary
#9B366F
accent
#3CA0EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050D07
muted
#797D7A

Preview Lab

Preview with #126335

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

Preview Lab → · Contrast checker → · Palette generator →

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