#126915#126915

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

Color values

HEX#126915
RGBrgb(18, 105, 21)
HSLhsl(122, 71%, 24%)
HSVhsv(122, 83%, 41%)
CMYKcmyk(82.9%, 0%, 80%, 58.8%)
CIE-LABlab(38.35, -41.62, 37.57)
CIE-LCHlch(38.35, 56.07, 137.93°)
OKLaboklab(45.49% -0.1128 0.0845)
OKLCHoklch(45.49% 0.141 143.2)
XYZxyz(5.4360, 10.2852, 2.4081)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126915 #691266
analogous
#3B6912 #126915 #126941
triadic
#126915 #151269 #691512
tetradic
#126915 #123B69 #691266 #694112
square
#126915 #123B69 #691266 #694112
split-complementary
#126915 #411269 #69123B
monochromatic
#041A05 #09350B #126915 #1B9D1F #24D12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126915#FFFFFF#000000##FFFFFF
##1269151.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)
#6B5E04
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126915;
/* rgb */ color: rgb(18, 105, 21);
/* oklch */ color: oklch(45.5% 0.141 143.2);
Tailwind
colors: {
  custom: {
    50: '#629559',
    500: '#126915',
    950: '#000000',
  },
}
SCSS
$custom: #126915;
$custom-light: #629559;
$custom-dark: #000000;
JSON
{
  "hex": "#126915",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 122.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.14099,
    "h": 143.2
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#126915
secondary
#A1369D
accent
#3AE7ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126915

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

Preview Lab → · Contrast checker → · Palette generator →

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