#126534#126534

#126534 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.7% C 0.110 H 151.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#126534
RGBrgb(18, 101, 52)
HSLhsl(145, 70%, 23%)
HSVhsv(145, 82%, 40%)
CMYKcmyk(82.2%, 0%, 48.5%, 60.4%)
CIE-LABlab(37.27, -35.94, 21.06)
CIE-LCHlch(37.27, 41.66, 149.63°)
OKLaboklab(44.71% -0.0966 0.0517)
OKLCHoklch(44.71% 0.11 151.8)
XYZxyz(5.5225, 9.6832, 4.8261)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126534 #651243
analogous
#1A6512 #126534 #12655D
triadic
#126534 #341265 #653412
tetradic
#126534 #121A65 #651243 #655D12
square
#126534 #121A65 #651243 #655D12
split-complementary
#126534 #5D1265 #65121A
monochromatic
#051A0D #093119 #126534 #1B994F #25CD69

Accessibility & contrast

On white

7.15
#126534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126534
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126534#FFFFFF#000000##FFFFFF
##1265341.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C30
Deuteranopia (green-blind)
#5C5537
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126534;
/* rgb */ color: rgb(18, 101, 52);
/* oklch */ color: oklch(44.7% 0.110 151.8);
Tailwind
colors: {
  custom: {
    50: '#5f926c',
    500: '#126534',
    950: '#000000',
  },
}
SCSS
$custom: #126534;
$custom-light: #5f926c;
$custom-dark: #000000;
JSON
{
  "hex": "#126534",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 52
  },
  "hsl": {
    "h": 144.578,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.10957,
    "h": 151.8
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#126534
secondary
#9D3673
accent
#3BA4ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126534

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

Preview Lab → · Contrast checker → · Palette generator →

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