#126539#126539

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

Color values

HEX#126539
RGBrgb(18, 101, 57)
HSLhsl(148, 70%, 23%)
HSVhsv(148, 82%, 40%)
CMYKcmyk(82.2%, 0%, 43.6%, 60.4%)
CIE-LABlab(37.35, -34.94, 18.28)
CIE-LCHlch(37.35, 39.43, 152.38°)
OKLaboklab(44.81% -0.0941 0.0454)
OKLCHoklch(44.81% 0.104 154.2)
XYZxyz(5.6411, 9.7307, 5.4510)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126539 #65123E
analogous
#146512 #126539 #126562
triadic
#126539 #391265 #653912
tetradic
#126539 #121465 #65123E #656212
square
#126539 #121465 #65123E #656212
split-complementary
#126539 #621265 #651214
monochromatic
#051A0F #09311C #126539 #1B9956 #25CD74

Accessibility & contrast

On white

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

On black

2.95
#126539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126539#FFFFFF#000000##FFFFFF
##1265391.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126539;
/* rgb */ color: rgb(18, 101, 57);
/* oklch */ color: oklch(44.8% 0.104 154.2);
Tailwind
colors: {
  custom: {
    50: '#5f9270',
    500: '#126539',
    950: '#000000',
  },
}
SCSS
$custom: #126539;
$custom-light: #5f9270;
$custom-dark: #000000;
JSON
{
  "hex": "#126539",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 57
  },
  "hsl": {
    "h": 148.193,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.10447,
    "h": 154.2
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#126539
secondary
#9D366C
accent
#3B99ED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126539

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

Preview Lab → · Contrast checker → · Palette generator →

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