#26792F#26792F

#26792F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.135 H 145.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#26792F
RGBrgb(38, 121, 47)
HSLhsl(127, 52%, 31%)
HSVhsv(127, 69%, 47%)
CMYKcmyk(68.6%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.65, -40.94, 32.86)
CIE-LCHlch(44.65, 52.49, 141.24°)
OKLaboklab(50.92% -0.1107 0.0776)
OKLCHoklch(50.92% 0.135 145)
XYZxyz(8.1493, 14.2912, 5.0178)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26792F #792670
analogous
#467926 #26792F #267958
triadic
#26792F #2F2679 #792F26
tetradic
#26792F #264679 #792670 #795826
square
#26792F #264679 #792670 #795826
split-complementary
#26792F #582679 #792646
monochromatic
#091C0B #174A1D #26792F #35A841 #51C85E

Accessibility & contrast

On white

5.44
#26792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#26792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26792F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26792F#FFFFFF#000000##FFFFFF
##26792F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#0E7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #26792f;
/* rgb */ color: rgb(38, 121, 47);
/* oklch */ color: oklch(50.9% 0.135 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca06a',
    500: '#26792f',
    950: '#000000',
  },
}
SCSS
$custom: #26792f;
$custom-light: #6ca06a;
$custom-dark: #000000;
JSON
{
  "hex": "#26792f",
  "rgb": {
    "r": 38,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 126.506,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.13521,
    "h": 145
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#26792F
secondary
#AB50A1
accent
#4CCCDC
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #26792F

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

Preview Lab → · Contrast checker → · Palette generator →

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