#126F15#126F15

#126F15 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.148 H 143.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#126F15
RGBrgb(18, 111, 21)
HSLhsl(122, 72%, 25%)
HSVhsv(122, 84%, 44%)
CMYKcmyk(83.8%, 0%, 81.1%, 56.5%)
CIE-LABlab(40.49, -43.66, 39.67)
CIE-LCHlch(40.49, 58.99, 137.74°)
OKLaboklab(47.28% -0.1184 0.0889)
OKLCHoklch(47.28% 0.148 143.1)
XYZxyz(6.0689, 11.5509, 2.6190)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F15 #6F126C
analogous
#3E6F12 #126F15 #126F43
triadic
#126F15 #15126F #6F1512
tetradic
#126F15 #123E6F #6F126C #6F4312
square
#126F15 #123E6F #6F126C #6F4312
split-complementary
#126F15 #43126F #6F123E
monochromatic
#041A05 #093A0B #126F15 #1BA41F #23D829

Accessibility & contrast

On white

6.34
#126F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F15
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F15#FFFFFF#000000##FFFFFF
##126F151.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126f15;
/* rgb */ color: rgb(18, 111, 21);
/* oklch */ color: oklch(47.3% 0.148 143.1);
Tailwind
colors: {
  custom: {
    50: '#64995a',
    500: '#126f15',
    950: '#000000',
  },
}
SCSS
$custom: #126f15;
$custom-light: #64995a;
$custom-dark: #000000;
JSON
{
  "hex": "#126f15",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 121.935,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.14805,
    "h": 143.1
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#126F15
secondary
#A637A3
accent
#39E9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F15

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

Preview Lab → · Contrast checker → · Palette generator →

#126F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva