#126527#126527

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

Color values

HEX#126527
RGBrgb(18, 101, 39)
HSLhsl(135, 70%, 23%)
HSVhsv(135, 82%, 40%)
CMYKcmyk(82.2%, 0%, 61.4%, 60.4%)
CIE-LABlab(37.08, -38.15, 27.98)
CIE-LCHlch(37.08, 47.31, 143.74°)
OKLaboklab(44.49% -0.1026 0.0664)
OKLCHoklch(44.49% 0.122 147.1)
XYZxyz(5.2689, 9.5818, 3.4908)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126527 #651250
analogous
#266512 #126527 #126550
triadic
#126527 #271265 #652712
tetradic
#126527 #122665 #651250 #655012
square
#126527 #122665 #651250 #655012
split-complementary
#126527 #501265 #651226
monochromatic
#051A0A #093113 #126527 #1B993B #25CD4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126527#FFFFFF#000000##FFFFFF
##1265271.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)
#665B21
Deuteranopia (green-blind)
#5D552C
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126527;
/* rgb */ color: rgb(18, 101, 39);
/* oklch */ color: oklch(44.5% 0.122 147.1);
Tailwind
colors: {
  custom: {
    50: '#609263',
    500: '#126527',
    950: '#000000',
  },
}
SCSS
$custom: #126527;
$custom-light: #609263;
$custom-dark: #000000;
JSON
{
  "hex": "#126527",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 39
  },
  "hsl": {
    "h": 135.181,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.12223,
    "h": 147.1
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#126527
secondary
#9D3683
accent
#3BC0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A

Preview Lab

Preview with #126527

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

Preview Lab → · Contrast checker → · Palette generator →

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