#126127#126127

#126127 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.117 H 147.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#126127
RGBrgb(18, 97, 39)
HSLhsl(136, 69%, 23%)
HSVhsv(136, 81%, 38%)
CMYKcmyk(81.4%, 0%, 59.8%, 62%)
CIE-LABlab(35.64, -36.64, 26.28)
CIE-LCHlch(35.64, 45.09, 144.35°)
OKLaboklab(43.3% -0.0985 0.0627)
OKLCHoklch(43.3% 0.117 147.5)
XYZxyz(4.8900, 8.8239, 3.3645)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126127 #61124C
analogous
#256112 #126127 #12614E
triadic
#126127 #271261 #612712
tetradic
#126127 #122561 #61124C #614E12
square
#126127 #122561 #61124C #614E12
split-complementary
#126127 #4E1261 #611225
monochromatic
#051A0A #082D12 #126127 #1C953C #25C851

Accessibility & contrast

On white

7.60
#126127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#126127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126127
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126127#FFFFFF#000000##FFFFFF
##1261271.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625821
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126127;
/* rgb */ color: rgb(18, 97, 39);
/* oklch */ color: oklch(43.3% 0.117 147.5);
Tailwind
colors: {
  custom: {
    50: '#5f8f63',
    500: '#126127',
    950: '#000000',
  },
}
SCSS
$custom: #126127;
$custom-light: #5f8f63;
$custom-dark: #000000;
JSON
{
  "hex": "#126127",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 135.949,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.11679,
    "h": 147.5
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#126127
secondary
#99367F
accent
#3CBDEC
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #126127

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

Preview Lab → · Contrast checker → · Palette generator →

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