#126123#126123

#126123 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.2% C 0.120 H 146.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#126123
RGBrgb(18, 97, 35)
HSLhsl(133, 69%, 23%)
HSVhsv(133, 81%, 38%)
CMYKcmyk(81.4%, 0%, 63.9%, 62%)
CIE-LABlab(35.59, -37.22, 28.32)
CIE-LCHlch(35.59, 46.77, 142.73°)
OKLaboklab(43.24% -0.1003 0.0668)
OKLCHoklch(43.24% 0.12 146.3)
XYZxyz(4.8272, 8.7988, 3.0337)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126123 #611250
analogous
#296112 #126123 #12614A
triadic
#126123 #231261 #612312
tetradic
#126123 #122961 #611250 #614A12
square
#126123 #122961 #611250 #614A12
split-complementary
#126123 #4A1261 #611229
monochromatic
#051A09 #082D10 #126123 #1C9536 #25C848

Accessibility & contrast

On white

7.61
#126123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#126123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126123
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126123#FFFFFF#000000##FFFFFF
##1261231.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#5A5128
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126123;
/* rgb */ color: rgb(18, 97, 35);
/* oklch */ color: oklch(43.2% 0.120 146.3);
Tailwind
colors: {
  custom: {
    50: '#5f8f60',
    500: '#126123',
    950: '#000000',
  },
}
SCSS
$custom: #126123;
$custom-light: #5f8f60;
$custom-dark: #000000;
JSON
{
  "hex": "#126123",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 132.911,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.12045,
    "h": 146.3
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#126123
secondary
#993684
accent
#3CC6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #126123

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

Preview Lab → · Contrast checker → · Palette generator →

#126123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva