#126816#126816

#126816 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.139 H 143.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#126816
RGBrgb(18, 104, 22)
HSLhsl(123, 70%, 24%)
HSVhsv(123, 83%, 41%)
CMYKcmyk(82.7%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.00, -41.20, 36.84)
CIE-LCHlch(38.00, 55.26, 138.20°)
OKLaboklab(45.2% -0.1116 0.0832)
OKLCHoklch(45.2% 0.139 143.3)
XYZxyz(5.3442, 10.0865, 2.4241)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126816 #681264
analogous
#396812 #126816 #126841
triadic
#126816 #161268 #681612
tetradic
#126816 #123968 #681264 #684112
square
#126816 #123968 #681264 #684112
split-complementary
#126816 #411268 #681239
monochromatic
#051A06 #09340B #126816 #1B9C21 #24D02C

Accessibility & contrast

On white

6.96
#126816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#126816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126816
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126816#FFFFFF#000000##FFFFFF
##1268161.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126816;
/* rgb */ color: rgb(18, 104, 22);
/* oklch */ color: oklch(45.2% 0.139 143.3);
Tailwind
colors: {
  custom: {
    50: '#629459',
    500: '#126816',
    950: '#000000',
  },
}
SCSS
$custom: #126816;
$custom-light: #629459;
$custom-dark: #000000;
JSON
{
  "hex": "#126816",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 122.791,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.13919,
    "h": 143.3
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#126816
secondary
#A0369B
accent
#3BE5ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126816

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

Preview Lab → · Contrast checker → · Palette generator →

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