#126337#126337

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

Color values

HEX#126337
RGBrgb(18, 99, 55)
HSLhsl(147, 69%, 23%)
HSVhsv(147, 82%, 39%)
CMYKcmyk(81.8%, 0%, 44.4%, 61.2%)
CIE-LABlab(36.61, -34.54, 18.47)
CIE-LCHlch(36.61, 39.16, 151.86°)
OKLaboklab(44.18% -0.093 0.0458)
OKLCHoklch(44.18% 0.104 153.8)
XYZxyz(5.4004, 9.3275, 5.1295)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126337 #63123E
analogous
#166312 #126337 #12635F
triadic
#126337 #371263 #633712
tetradic
#126337 #121663 #63123E #635F12
square
#126337 #121663 #63123E #635F12
split-complementary
#126337 #5F1263 #631216
monochromatic
#051A0E #092F1A #126337 #1B9754 #25CB71

Accessibility & contrast

On white

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

On black

2.87
#126337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126337#FFFFFF#000000##FFFFFF
##1263371.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#59533A
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126337;
/* rgb */ color: rgb(18, 99, 55);
/* oklch */ color: oklch(44.2% 0.104 153.8);
Tailwind
colors: {
  custom: {
    50: '#5f906e',
    500: '#126337',
    950: '#000000',
  },
}
SCSS
$custom: #126337;
$custom-light: #5f906e;
$custom-dark: #000000;
JSON
{
  "hex": "#126337",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 55
  },
  "hsl": {
    "h": 147.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44178,
    "c": 0.10363,
    "h": 153.8
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#126337
secondary
#9B366D
accent
#3C9CEC
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050D07
muted
#797D7A

Preview Lab

Preview with #126337

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

Preview Lab → · Contrast checker → · Palette generator →

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