#126E21#126E21

#126E21 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.139 H 145.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#126E21
RGBrgb(18, 110, 33)
HSLhsl(130, 72%, 25%)
HSVhsv(130, 84%, 43%)
CMYKcmyk(83.6%, 0%, 70%, 56.9%)
CIE-LABlab(40.23, -42.19, 34.49)
CIE-LCHlch(40.23, 54.49, 140.73°)
OKLaboklab(47.08% -0.1138 0.0797)
OKLCHoklch(47.08% 0.139 145)
XYZxyz(6.0995, 11.3895, 3.3155)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E21 #6E125F
analogous
#316E12 #126E21 #126E4F
triadic
#126E21 #21126E #6E2112
tetradic
#126E21 #12316E #6E125F #6E4F12
square
#126E21 #12316E #6E125F #6E4F12
split-complementary
#126E21 #4F126E #6E1231
monochromatic
#041A08 #093911 #126E21 #1BA331 #23D741

Accessibility & contrast

On white

6.41
#126E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#126E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E21
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E21#FFFFFF#000000##FFFFFF
##126E211.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706317
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e21;
/* rgb */ color: rgb(18, 110, 33);
/* oklch */ color: oklch(47.1% 0.139 145.0);
Tailwind
colors: {
  custom: {
    50: '#639960',
    500: '#126e21',
    950: '#000000',
  },
}
SCSS
$custom: #126e21;
$custom-light: #639960;
$custom-dark: #000000;
JSON
{
  "hex": "#126e21",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 129.783,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.13894,
    "h": 145
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#126E21
secondary
#A53793
accent
#39D1EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126E21

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

Preview Lab → · Contrast checker → · Palette generator →

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