#126528#126528

#126528 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.121 H 147.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#126528
RGBrgb(18, 101, 40)
HSLhsl(136, 70%, 23%)
HSVhsv(136, 82%, 40%)
CMYKcmyk(82.2%, 0%, 60.4%, 60.4%)
CIE-LABlab(37.09, -38.00, 27.47)
CIE-LCHlch(37.09, 46.89, 144.14°)
OKLaboklab(44.51% -0.1022 0.0654)
OKLCHoklch(44.51% 0.121 147.4)
XYZxyz(5.2857, 9.5885, 3.5793)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126528 #65124F
analogous
#256512 #126528 #126551
triadic
#126528 #281265 #652812
tetradic
#126528 #122565 #65124F #655112
square
#126528 #122565 #65124F #655112
split-complementary
#126528 #511265 #651225
monochromatic
#051A0A #093113 #126528 #1B993D #25CD51

Accessibility & contrast

On white

7.20
#126528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#126528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126528
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126528#FFFFFF#000000##FFFFFF
##1265281.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B22
Deuteranopia (green-blind)
#5D552D
Tritanopia (blue-blind)
#006358
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126528;
/* rgb */ color: rgb(18, 101, 40);
/* oklch */ color: oklch(44.5% 0.121 147.4);
Tailwind
colors: {
  custom: {
    50: '#609264',
    500: '#126528',
    950: '#000000',
  },
}
SCSS
$custom: #126528;
$custom-light: #609264;
$custom-dark: #000000;
JSON
{
  "hex": "#126528",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 40
  },
  "hsl": {
    "h": 135.904,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.12132,
    "h": 147.4
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#126528
secondary
#9D3682
accent
#3BBEED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A

Preview Lab

Preview with #126528

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

Preview Lab → · Contrast checker → · Palette generator →

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