#126515#126515

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

Color values

HEX#126515
RGBrgb(18, 101, 21)
HSLhsl(122, 70%, 23%)
HSVhsv(122, 82%, 40%)
CMYKcmyk(82.2%, 0%, 79.2%, 60.4%)
CIE-LABlab(36.91, -40.24, 36.13)
CIE-LCHlch(36.91, 54.08, 138.08°)
OKLaboklab(44.29% -0.1091 0.0816)
OKLCHoklch(44.29% 0.136 143.2)
XYZxyz(5.0382, 9.4895, 2.2755)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126515 #651262
analogous
#386512 #126515 #12653E
triadic
#126515 #151265 #651512
tetradic
#126515 #123865 #651262 #653E12
square
#126515 #123865 #651262 #653E12
split-complementary
#126515 #3E1265 #651238
monochromatic
#051A05 #09310A #126515 #1B9920 #25CD2B

Accessibility & contrast

On white

7.25
#126515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126515
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126515#FFFFFF#000000##FFFFFF
##1265151.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126515;
/* rgb */ color: rgb(18, 101, 21);
/* oklch */ color: oklch(44.3% 0.136 143.2);
Tailwind
colors: {
  custom: {
    50: '#619259',
    500: '#126515',
    950: '#000000',
  },
}
SCSS
$custom: #126515;
$custom-light: #619259;
$custom-dark: #000000;
JSON
{
  "hex": "#126515",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 122.169,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44294,
    "c": 0.13619,
    "h": 143.2
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#126515
secondary
#9D3699
accent
#3BE6ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126515

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

Preview Lab → · Contrast checker → · Palette generator →

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