#126917#126917

#126917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.140 H 143.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#126917
RGBrgb(18, 105, 23)
HSLhsl(123, 71%, 24%)
HSVhsv(123, 83%, 41%)
CMYKcmyk(82.9%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.36, -41.45, 36.81)
CIE-LCHlch(38.36, 55.44, 138.40°)
OKLaboklab(45.51% -0.1123 0.0833)
OKLCHoklch(45.51% 0.14 143.4)
XYZxyz(5.4553, 10.2930, 2.5097)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126917 #691264
analogous
#396912 #126917 #126943
triadic
#126917 #171269 #691712
tetradic
#126917 #123969 #691264 #694312
square
#126917 #123969 #691264 #694312
split-complementary
#126917 #431269 #691239
monochromatic
#041A06 #09350C #126917 #1B9D22 #24D12E

Accessibility & contrast

On white

6.87
#126917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#126917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126917
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126917#FFFFFF#000000##FFFFFF
##1269171.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126917;
/* rgb */ color: rgb(18, 105, 23);
/* oklch */ color: oklch(45.5% 0.140 143.4);
Tailwind
colors: {
  custom: {
    50: '#62955a',
    500: '#126917',
    950: '#000000',
  },
}
SCSS
$custom: #126917;
$custom-light: #62955a;
$custom-dark: #000000;
JSON
{
  "hex": "#126917",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 123.448,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45507,
    "c": 0.13978,
    "h": 143.4
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#126917
secondary
#A1369A
accent
#3AE3ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126917

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

Preview Lab → · Contrast checker → · Palette generator →

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