#26942A#26942A

#26942A is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.173 H 143.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#26942A
RGBrgb(38, 148, 42)
HSLhsl(122, 59%, 36%)
HSVhsv(122, 74%, 58%)
CMYKcmyk(74.3%, 0%, 71.6%, 42%)
CIE-LABlab(53.77, -51.25, 45.18)
CIE-LCHlch(53.77, 68.32, 138.60°)
OKLaboklab(58.46% -0.1389 0.1032)
OKLCHoklch(58.46% 0.173 143.4)
XYZxyz(11.8064, 21.7577, 5.7675)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26942A #942690
analogous
#599426 #26942A #269461
triadic
#26942A #2A2694 #942A26
tetradic
#26942A #265994 #942690 #946126
square
#26942A #265994 #942690 #946126
split-complementary
#26942A #612694 #942659
monochromatic
#0D330E #19631C #26942A #33C538 #5FD663

Accessibility & contrast

On white

3.92
#26942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#26942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26942A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26942A#FFFFFF#000000##000000
##26942A1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861A
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #26942a;
/* rgb */ color: rgb(38, 148, 42);
/* oklch */ color: oklch(58.5% 0.173 143.4);
Tailwind
colors: {
  custom: {
    50: '#73b46a',
    500: '#26942a',
    950: '#000000',
  },
}
SCSS
$custom: #26942a;
$custom-light: #73b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#26942a",
  "rgb": {
    "r": 38,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 122.182,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.17308,
    "h": 143.4
  },
  "luminance": 0.21759
}

Semantic roles & 50–950 ramp

primary
#26942A
secondary
#BB5BB7
accent
#45DDE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #26942A

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

Preview Lab → · Contrast checker → · Palette generator →

#26942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva