#126538#126538

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

Color values

HEX#126538
RGBrgb(18, 101, 56)
HSLhsl(147, 70%, 23%)
HSVhsv(147, 82%, 40%)
CMYKcmyk(82.2%, 0%, 44.6%, 60.4%)
CIE-LABlab(37.34, -35.15, 18.84)
CIE-LCHlch(37.34, 39.88, 151.81°)
OKLaboklab(44.79% -0.0946 0.0467)
OKLCHoklch(44.79% 0.105 153.7)
XYZxyz(5.6164, 9.7208, 5.3209)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126538 #65123F
analogous
#156512 #126538 #126561
triadic
#126538 #381265 #653812
tetradic
#126538 #121565 #65123F #656112
square
#126538 #121565 #65123F #656112
split-complementary
#126538 #611265 #651215
monochromatic
#051A0E #09311B #126538 #1B9955 #25CD72

Accessibility & contrast

On white

7.13
#126538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126538
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126538#FFFFFF#000000##FFFFFF
##1265381.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126538;
/* rgb */ color: rgb(18, 101, 56);
/* oklch */ color: oklch(44.8% 0.105 153.7);
Tailwind
colors: {
  custom: {
    50: '#5f926f',
    500: '#126538',
    950: '#000000',
  },
}
SCSS
$custom: #126538;
$custom-light: #5f926f;
$custom-dark: #000000;
JSON
{
  "hex": "#126538",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 56
  },
  "hsl": {
    "h": 147.47,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44786,
    "c": 0.10549,
    "h": 153.7
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#126538
secondary
#9D366E
accent
#3B9BED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126538

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

Preview Lab → · Contrast checker → · Palette generator →

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