#126332#126332

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

Color values

HEX#126332
RGBrgb(18, 99, 50)
HSLhsl(144, 69%, 23%)
HSVhsv(144, 82%, 39%)
CMYKcmyk(81.8%, 0%, 49.5%, 61.2%)
CIE-LABlab(36.52, -35.53, 21.25)
CIE-LCHlch(36.52, 41.40, 149.11°)
OKLaboklab(44.08% -0.0955 0.0521)
OKLCHoklch(44.08% 0.109 151.4)
XYZxyz(5.2866, 9.2819, 4.5300)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126332 #631243
analogous
#1A6312 #126332 #12635A
triadic
#126332 #321263 #633212
tetradic
#126332 #121A63 #631243 #635A12
square
#126332 #121A63 #631243 #635A12
split-complementary
#126332 #5A1263 #63121A
monochromatic
#051A0D #092F18 #126332 #1B974C #25CB66

Accessibility & contrast

On white

7.35
#126332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126332
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126332#FFFFFF#000000##FFFFFF
##1263321.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#5A5335
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126332;
/* rgb */ color: rgb(18, 99, 50);
/* oklch */ color: oklch(44.1% 0.109 151.4);
Tailwind
colors: {
  custom: {
    50: '#5f906b',
    500: '#126332',
    950: '#000000',
  },
}
SCSS
$custom: #126332;
$custom-light: #5f906b;
$custom-dark: #000000;
JSON
{
  "hex": "#126332",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 50
  },
  "hsl": {
    "h": 143.704,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.10875,
    "h": 151.4
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#126332
secondary
#9B3673
accent
#3CA6EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050D06
muted
#797D7A

Preview Lab

Preview with #126332

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

Preview Lab → · Contrast checker → · Palette generator →

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