#126F19#126F19

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

Color values

HEX#126F19
RGBrgb(18, 111, 25)
HSLhsl(125, 72%, 25%)
HSVhsv(125, 84%, 44%)
CMYKcmyk(83.8%, 0%, 77.5%, 56.5%)
CIE-LABlab(40.52, -43.33, 38.20)
CIE-LCHlch(40.52, 57.77, 138.60°)
OKLaboklab(47.31% -0.1173 0.0864)
OKLCHoklch(47.31% 0.146 143.6)
XYZxyz(6.1090, 11.5669, 2.8302)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F19 #6F1268
analogous
#396F12 #126F19 #126F47
triadic
#126F19 #19126F #6F1912
tetradic
#126F19 #12396F #6F1268 #6F4712
square
#126F19 #12396F #6F1268 #6F4712
split-complementary
#126F19 #47126F #6F1239
monochromatic
#041A06 #093A0D #126F19 #1BA425 #23D831

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126F19#FFFFFF#000000##FFFFFF
##126F191.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)
#716408
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126f19;
/* rgb */ color: rgb(18, 111, 25);
/* oklch */ color: oklch(47.3% 0.146 143.6);
Tailwind
colors: {
  custom: {
    50: '#64995c',
    500: '#126f19',
    950: '#000000',
  },
}
SCSS
$custom: #126f19;
$custom-light: #64995c;
$custom-dark: #000000;
JSON
{
  "hex": "#126f19",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 124.516,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.1457,
    "h": 143.6
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#126F19
secondary
#A6379E
accent
#39E1EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F19

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

Preview Lab → · Contrast checker → · Palette generator →

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