#26791F#26791F

#26791F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.148 H 142.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#26791F
RGBrgb(38, 121, 31)
HSLhsl(115, 59%, 30%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(68.6%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.50, -42.71, 40.00)
CIE-LCHlch(44.50, 58.52, 136.87°)
OKLaboklab(50.74% -0.1164 0.0909)
OKLCHoklch(50.74% 0.148 142)
XYZxyz(7.8836, 14.1849, 3.6186)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26791F #721F79
analogous
#53791F #26791F #1F7945
triadic
#26791F #1F2679 #791F26
tetradic
#26791F #1F5379 #721F79 #79451F
square
#26791F #1F5379 #721F79 #79451F
split-complementary
#26791F #451F79 #791F53
monochromatic
#081806 #174813 #26791F #35AA2B #4ECF43

Accessibility & contrast

On white

5.47
#26791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#26791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26791F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26791F#FFFFFF#000000##FFFFFF
##26791F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#147567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #26791f;
/* rgb */ color: rgb(38, 121, 31);
/* oklch */ color: oklch(50.7% 0.148 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da161',
    500: '#26791f',
    950: '#000000',
  },
}
SCSS
$custom: #26791f;
$custom-light: #6da161;
$custom-dark: #000000;
JSON
{
  "hex": "#26791f",
  "rgb": {
    "r": 38,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 115.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.14767,
    "h": 142
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#26791F
secondary
#A547AC
accent
#45E2D6
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #26791F

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

Preview Lab → · Contrast checker → · Palette generator →

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