#126537#126537

#126537 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.107 H 153.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#126537
RGBrgb(18, 101, 55)
HSLhsl(147, 70%, 23%)
HSVhsv(147, 82%, 40%)
CMYKcmyk(82.2%, 0%, 45.5%, 60.4%)
CIE-LABlab(37.32, -35.35, 19.40)
CIE-LCHlch(37.32, 40.33, 151.25°)
OKLaboklab(44.77% -0.0951 0.048)
OKLCHoklch(44.77% 0.107 153.2)
XYZxyz(5.5922, 9.7111, 5.1934)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126537 #651240
analogous
#166512 #126537 #126560
triadic
#126537 #371265 #653712
tetradic
#126537 #121665 #651240 #656012
square
#126537 #121665 #651240 #656012
split-complementary
#126537 #601265 #651216
monochromatic
#051A0E #09311B #126537 #1B9953 #25CD70

Accessibility & contrast

On white

7.14
#126537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#126537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126537
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126537#FFFFFF#000000##FFFFFF
##1265371.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C34
Deuteranopia (green-blind)
#5B553A
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126537;
/* rgb */ color: rgb(18, 101, 55);
/* oklch */ color: oklch(44.8% 0.107 153.2);
Tailwind
colors: {
  custom: {
    50: '#5f926e',
    500: '#126537',
    950: '#000000',
  },
}
SCSS
$custom: #126537;
$custom-light: #5f926e;
$custom-dark: #000000;
JSON
{
  "hex": "#126537",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 55
  },
  "hsl": {
    "h": 146.747,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.10651,
    "h": 153.2
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#126537
secondary
#9D366F
accent
#3B9EED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126537

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

Preview Lab → · Contrast checker → · Palette generator →

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