#126517#126517

#126517 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.135 H 143.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#126517
RGBrgb(18, 101, 23)
HSLhsl(124, 70%, 23%)
HSVhsv(124, 82%, 40%)
CMYKcmyk(82.2%, 0%, 77.2%, 60.4%)
CIE-LABlab(36.92, -40.06, 35.35)
CIE-LCHlch(36.92, 53.43, 138.57°)
OKLaboklab(44.31% -0.1085 0.0802)
OKLCHoklch(44.31% 0.135 143.5)
XYZxyz(5.0575, 9.4972, 2.3770)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126517 #651260
analogous
#366512 #126517 #126540
triadic
#126517 #171265 #651712
tetradic
#126517 #123665 #651260 #654012
square
#126517 #123665 #651260 #654012
split-complementary
#126517 #401265 #651236
monochromatic
#051A06 #09310B #126517 #1B9923 #25CD2F

Accessibility & contrast

On white

7.24
#126517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#126517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126517
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126517#FFFFFF#000000##FFFFFF
##1265171.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#006256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126517;
/* rgb */ color: rgb(18, 101, 23);
/* oklch */ color: oklch(44.3% 0.135 143.5);
Tailwind
colors: {
  custom: {
    50: '#61925a',
    500: '#126517',
    950: '#000000',
  },
}
SCSS
$custom: #126517;
$custom-light: #61925a;
$custom-dark: #000000;
JSON
{
  "hex": "#126517",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 123.614,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.13492,
    "h": 143.5
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#126517
secondary
#9D3697
accent
#3BE2ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126517

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

Preview Lab → · Contrast checker → · Palette generator →

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