#126124#126124

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

Color values

HEX#126124
RGBrgb(18, 97, 36)
HSLhsl(134, 69%, 23%)
HSVhsv(134, 81%, 38%)
CMYKcmyk(81.4%, 0%, 62.9%, 62%)
CIE-LABlab(35.61, -37.08, 27.82)
CIE-LCHlch(35.61, 46.36, 143.12°)
OKLaboklab(43.26% -0.0998 0.0658)
OKLCHoklch(43.26% 0.12 146.6)
XYZxyz(4.8422, 8.8048, 3.1130)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126124 #61124F
analogous
#276112 #126124 #12614C
triadic
#126124 #241261 #612412
tetradic
#126124 #122761 #61124F #614C12
square
#126124 #122761 #61124F #614C12
split-complementary
#126124 #4C1261 #611227
monochromatic
#051A0A #082D11 #126124 #1C9537 #25C84A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126124#FFFFFF#000000##FFFFFF
##1261241.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)
#62571E
Deuteranopia (green-blind)
#5A5129
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126124;
/* rgb */ color: rgb(18, 97, 36);
/* oklch */ color: oklch(43.3% 0.120 146.6);
Tailwind
colors: {
  custom: {
    50: '#5f8f61',
    500: '#126124',
    950: '#000000',
  },
}
SCSS
$custom: #126124;
$custom-light: #5f8f61;
$custom-dark: #000000;
JSON
{
  "hex": "#126124",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 133.671,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.11955,
    "h": 146.6
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#126124
secondary
#993682
accent
#3CC4EC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #126124

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

Preview Lab → · Contrast checker → · Palette generator →

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