#126D23#126D23

#126D23 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.136 H 145.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#126D23
RGBrgb(18, 109, 35)
HSLhsl(131, 72%, 25%)
HSVhsv(131, 83%, 43%)
CMYKcmyk(83.5%, 0%, 67.9%, 57.3%)
CIE-LABlab(39.89, -41.60, 33.19)
CIE-LCHlch(39.89, 53.22, 141.41°)
OKLaboklab(46.81% -0.1121 0.0772)
OKLCHoklch(46.81% 0.136 145.5)
XYZxyz(6.0210, 11.1865, 3.4317)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D23 #6D125C
analogous
#2E6D12 #126D23 #126D51
triadic
#126D23 #23126D #6D2312
tetradic
#126D23 #122E6D #6D125C #6D5112
square
#126D23 #122E6D #6D125C #6D5112
split-complementary
#126D23 #51126D #6D122E
monochromatic
#041A08 #093812 #126D23 #1BA234 #23D645

Accessibility & contrast

On white

6.49
#126D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#126D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D23
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D23#FFFFFF#000000##FFFFFF
##126D231.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#655B2A
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d23;
/* rgb */ color: rgb(18, 109, 35);
/* oklch */ color: oklch(46.8% 0.136 145.5);
Tailwind
colors: {
  custom: {
    50: '#629861',
    500: '#126d23',
    950: '#000000',
  },
}
SCSS
$custom: #126d23;
$custom-light: #629861;
$custom-dark: #000000;
JSON
{
  "hex": "#126d23",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 131.209,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.13612,
    "h": 145.5
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#126D23
secondary
#A43790
accent
#39CDEE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126D23

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

Preview Lab → · Contrast checker → · Palette generator →

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