#126028#126028

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

Color values

HEX#126028
RGBrgb(18, 96, 40)
HSLhsl(137, 68%, 22%)
HSVhsv(137, 81%, 38%)
CMYKcmyk(81.3%, 0%, 58.3%, 62.4%)
CIE-LABlab(35.30, -36.09, 25.32)
CIE-LCHlch(35.30, 44.09, 144.95°)
OKLaboklab(43.02% -0.097 0.0607)
OKLCHoklch(43.02% 0.114 148)
XYZxyz(4.8150, 8.6470, 3.4223)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126028 #60124A
analogous
#236012 #126028 #12604F
triadic
#126028 #281260 #602812
tetradic
#126028 #122360 #60124A #604F12
square
#126028 #122360 #60124A #604F12
split-complementary
#126028 #4F1260 #601223
monochromatic
#051A0B #082C13 #126028 #1C943D #25C753

Accessibility & contrast

On white

7.69
#126028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#126028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126028
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126028#FFFFFF#000000##FFFFFF
##1260281.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126028;
/* rgb */ color: rgb(18, 96, 40);
/* oklch */ color: oklch(43.0% 0.114 148.0);
Tailwind
colors: {
  custom: {
    50: '#5f8e63',
    500: '#126028',
    950: '#000000',
  },
}
SCSS
$custom: #126028;
$custom-light: #5f8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#126028",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 136.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.11444,
    "h": 148
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#126028
secondary
#98367C
accent
#3DBAEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #126028

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

Preview Lab → · Contrast checker → · Palette generator →

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