#126827#126827

#126827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.126 H 146.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#126827
RGBrgb(18, 104, 39)
HSLhsl(135, 70%, 24%)
HSVhsv(135, 83%, 41%)
CMYKcmyk(82.7%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.15, -39.26, 29.24)
CIE-LCHlch(38.15, 48.96, 143.33°)
OKLaboklab(45.38% -0.1056 0.0691)
OKLCHoklch(45.38% 0.126 146.8)
XYZxyz(5.5656, 10.1750, 3.5897)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126827 #681253
analogous
#286812 #126827 #126852
triadic
#126827 #271268 #682712
tetradic
#126827 #122868 #681253 #685212
square
#126827 #122868 #681253 #685212
split-complementary
#126827 #521268 #681228
monochromatic
#051A0A #093413 #126827 #1B9C3B #24D04E

Accessibility & contrast

On white

6.92
#126827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#126827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126827
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126827#FFFFFF#000000##FFFFFF
##1268271.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E20
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126827;
/* rgb */ color: rgb(18, 104, 39);
/* oklch */ color: oklch(45.4% 0.126 146.8);
Tailwind
colors: {
  custom: {
    50: '#619463',
    500: '#126827',
    950: '#000000',
  },
}
SCSS
$custom: #126827;
$custom-light: #619463;
$custom-dark: #000000;
JSON
{
  "hex": "#126827",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 134.651,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.12624,
    "h": 146.8
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#126827
secondary
#A03686
accent
#3BC2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126827

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

Preview Lab → · Contrast checker → · Palette generator →

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