#126024#126024

#126024 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.118 H 146.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#126024
RGBrgb(18, 96, 36)
HSLhsl(134, 68%, 22%)
HSVhsv(134, 81%, 38%)
CMYKcmyk(81.3%, 0%, 62.5%, 62.4%)
CIE-LABlab(35.24, -36.71, 27.40)
CIE-LCHlch(35.24, 45.80, 143.26°)
OKLaboklab(42.96% -0.0988 0.0649)
OKLCHoklch(42.96% 0.118 146.7)
XYZxyz(4.7504, 8.6212, 3.0824)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126024 #60124E
analogous
#276012 #126024 #12604B
triadic
#126024 #241260 #602412
tetradic
#126024 #122760 #60124E #604B12
square
#126024 #122760 #60124E #604B12
split-complementary
#126024 #4B1260 #601227
monochromatic
#051A0A #082C11 #126024 #1C9437 #25C74B

Accessibility & contrast

On white

7.71
#126024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#126024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126024
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126024#FFFFFF#000000##FFFFFF
##1260241.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61571E
Deuteranopia (green-blind)
#595029
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126024;
/* rgb */ color: rgb(18, 96, 36);
/* oklch */ color: oklch(43.0% 0.118 146.7);
Tailwind
colors: {
  custom: {
    50: '#5f8e61',
    500: '#126024',
    950: '#000000',
  },
}
SCSS
$custom: #126024;
$custom-light: #5f8e61;
$custom-dark: #000000;
JSON
{
  "hex": "#126024",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 36
  },
  "hsl": {
    "h": 133.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.1182,
    "h": 146.7
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#126024
secondary
#983681
accent
#3DC3EB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #126024

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

Preview Lab → · Contrast checker → · Palette generator →

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