#26781F#26781F

#26781F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.146 H 142.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#26781F
RGBrgb(38, 120, 31)
HSLhsl(115, 59%, 30%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(68.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.15, -42.34, 39.65)
CIE-LCHlch(44.15, 58.00, 136.88°)
OKLaboklab(50.46% -0.1154 0.0902)
OKLCHoklch(50.46% 0.146 142)
XYZxyz(7.7627, 13.9431, 3.5783)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26781F #711F78
analogous
#53781F #26781F #1F7845
triadic
#26781F #1F2678 #781F26
tetradic
#26781F #1F5378 #711F78 #78451F
square
#26781F #1F5378 #711F78 #78451F
split-complementary
#26781F #451F78 #781F53
monochromatic
#081806 #174712 #26781F #35A92C #4ECE43

Accessibility & contrast

On white

5.54
#26781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#26781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26781F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26781F#FFFFFF#000000##FFFFFF
##26781F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#157466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #26781f;
/* rgb */ color: rgb(38, 120, 31);
/* oklch */ color: oklch(50.5% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da060',
    500: '#26781f',
    950: '#000000',
  },
}
SCSS
$custom: #26781f;
$custom-light: #6da060;
$custom-dark: #000000;
JSON
{
  "hex": "#26781f",
  "rgb": {
    "r": 38,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 115.281,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.14642,
    "h": 142
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#26781F
secondary
#A447AB
accent
#46E2D6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #26781F

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

Preview Lab → · Contrast checker → · Palette generator →

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