#26942D#26942D

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

Color values

HEX#26942D
RGBrgb(38, 148, 45)
HSLhsl(124, 59%, 36%)
HSVhsv(124, 74%, 58%)
CMYKcmyk(74.3%, 0%, 69.6%, 42%)
CIE-LABlab(53.79, -50.96, 43.97)
CIE-LCHlch(53.79, 67.31, 139.21°)
OKLaboklab(58.49% -0.138 0.101)
OKLCHoklch(58.49% 0.171 143.8)
XYZxyz(11.8621, 21.7800, 6.0609)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26942D #94268D
analogous
#569426 #26942D #269464
triadic
#26942D #2D2694 #942D26
tetradic
#26942D #265694 #94268D #946426
square
#26942D #265694 #94268D #946426
split-complementary
#26942D #642694 #942656
monochromatic
#0D330F #19631E #26942D #33C53C #5FD666

Accessibility & contrast

On white

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

On black

5.36
#26942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26942D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26942D#FFFFFF#000000##000000
##26942D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #26942d;
/* rgb */ color: rgb(38, 148, 45);
/* oklch */ color: oklch(58.5% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b46b',
    500: '#26942d',
    950: '#000000',
  },
}
SCSS
$custom: #26942d;
$custom-light: #72b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#26942d",
  "rgb": {
    "r": 38,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 123.818,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58486,
    "c": 0.17104,
    "h": 143.8
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#26942D
secondary
#BB5BB5
accent
#45D8E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #26942D

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

Preview Lab → · Contrast checker → · Palette generator →

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