#126817#126817

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

Color values

HEX#126817
RGBrgb(18, 104, 23)
HSLhsl(123, 70%, 24%)
HSVhsv(123, 83%, 41%)
CMYKcmyk(82.7%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.00, -41.11, 36.45)
CIE-LCHlch(38.00, 54.94, 138.44°)
OKLaboklab(45.21% -0.1113 0.0825)
OKLCHoklch(45.21% 0.139 143.5)
XYZxyz(5.3541, 10.0905, 2.4759)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126817 #681263
analogous
#386812 #126817 #126842
triadic
#126817 #171268 #681712
tetradic
#126817 #123868 #681263 #684212
square
#126817 #123868 #681263 #684212
split-complementary
#126817 #421268 #681238
monochromatic
#051A06 #09340B #126817 #1B9C23 #24D02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126817#FFFFFF#000000##FFFFFF
##1268171.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)
#6A5D08
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126817;
/* rgb */ color: rgb(18, 104, 23);
/* oklch */ color: oklch(45.2% 0.139 143.5);
Tailwind
colors: {
  custom: {
    50: '#62945a',
    500: '#126817',
    950: '#000000',
  },
}
SCSS
$custom: #126817;
$custom-light: #62945a;
$custom-dark: #000000;
JSON
{
  "hex": "#126817",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 123.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.13857,
    "h": 143.5
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#126817
secondary
#A0369A
accent
#3BE3ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126817

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

Preview Lab → · Contrast checker → · Palette generator →

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