#26942F#26942F

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

Color values

HEX#26942F
RGBrgb(38, 148, 47)
HSLhsl(125, 59%, 36%)
HSVhsv(125, 74%, 58%)
CMYKcmyk(74.3%, 0%, 68.2%, 42%)
CIE-LABlab(53.81, -50.76, 43.14)
CIE-LCHlch(53.81, 66.61, 139.64°)
OKLaboklab(58.51% -0.1374 0.0995)
OKLCHoklch(58.51% 0.17 144.1)
XYZxyz(11.9015, 21.7958, 6.2685)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26942F #94268B
analogous
#549426 #26942F #269466
triadic
#26942F #2F2694 #942F26
tetradic
#26942F #265494 #94268B #946626
square
#26942F #265494 #94268B #946626
split-complementary
#26942F #662694 #942654
monochromatic
#0D3310 #196320 #26942F #33C53E #5FD668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26942F#FFFFFF#000000##000000
##26942F1.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)
#978621
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #26942f;
/* rgb */ color: rgb(38, 148, 47);
/* oklch */ color: oklch(58.5% 0.170 144.1);
Tailwind
colors: {
  custom: {
    50: '#72b46d',
    500: '#26942f',
    950: '#000000',
  },
}
SCSS
$custom: #26942f;
$custom-light: #72b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#26942f",
  "rgb": {
    "r": 38,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 124.909,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.16962,
    "h": 144.1
  },
  "luminance": 0.21797
}

Semantic roles & 50–950 ramp

primary
#26942F
secondary
#BB5BB3
accent
#45D5E2
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #26942F

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

Preview Lab → · Contrast checker → · Palette generator →

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