#126F23#126F23

#126F23 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.139 H 145.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#126F23
RGBrgb(18, 111, 35)
HSLhsl(131, 72%, 25%)
HSVhsv(131, 84%, 44%)
CMYKcmyk(83.8%, 0%, 68.5%, 56.5%)
CIE-LABlab(40.60, -42.31, 33.98)
CIE-LCHlch(40.60, 54.26, 141.23°)
OKLaboklab(47.4% -0.114 0.0789)
OKLCHoklch(47.4% 0.139 145.3)
XYZxyz(6.2368, 11.6181, 3.5036)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F23 #6F125E
analogous
#2F6F12 #126F23 #126F52
triadic
#126F23 #23126F #6F2312
tetradic
#126F23 #122F6F #6F125E #6F5212
square
#126F23 #122F6F #6F125E #6F5212
split-complementary
#126F23 #52126F #6F122F
monochromatic
#041A08 #093A12 #126F23 #1BA434 #23D844

Accessibility & contrast

On white

6.32
#126F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F23
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F23#FFFFFF#000000##FFFFFF
##126F231.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f23;
/* rgb */ color: rgb(18, 111, 35);
/* oklch */ color: oklch(47.4% 0.139 145.3);
Tailwind
colors: {
  custom: {
    50: '#639962',
    500: '#126f23',
    950: '#000000',
  },
}
SCSS
$custom: #126f23;
$custom-light: #639962;
$custom-dark: #000000;
JSON
{
  "hex": "#126f23",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 130.968,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.13865,
    "h": 145.3
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#126F23
secondary
#A63792
accent
#39CEEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126F23

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

Preview Lab → · Contrast checker → · Palette generator →

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