#26942B#26942B

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

Color values

HEX#26942B
RGBrgb(38, 148, 43)
HSLhsl(123, 59%, 36%)
HSVhsv(123, 74%, 58%)
CMYKcmyk(74.3%, 0%, 70.9%, 42%)
CIE-LABlab(53.78, -51.16, 44.78)
CIE-LCHlch(53.78, 67.99, 138.80°)
OKLaboklab(58.47% -0.1386 0.1025)
OKLCHoklch(58.47% 0.172 143.5)
XYZxyz(11.8245, 21.7650, 5.8629)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26942B #94268F
analogous
#589426 #26942B #269462
triadic
#26942B #2B2694 #942B26
tetradic
#26942B #265894 #94268F #946226
square
#26942B #265894 #94268F #946226
split-complementary
#26942B #622694 #942658
monochromatic
#0D330F #19631D #26942B #33C539 #5FD664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26942B#FFFFFF#000000##000000
##26942B1.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)
#97861B
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #26942b;
/* rgb */ color: rgb(38, 148, 43);
/* oklch */ color: oklch(58.5% 0.172 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b46a',
    500: '#26942b',
    950: '#000000',
  },
}
SCSS
$custom: #26942b;
$custom-light: #72b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#26942b",
  "rgb": {
    "r": 38,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 122.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.17241,
    "h": 143.5
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26942B

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

Preview Lab → · Contrast checker → · Palette generator →

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