#26731F#26731F

#26731F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.140 H 141.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#26731F
RGBrgb(38, 115, 31)
HSLhsl(115, 58%, 29%)
HSVhsv(115, 73%, 45%)
CMYKcmyk(67%, 0%, 73%, 54.9%)
CIE-LABlab(42.42, -40.46, 37.84)
CIE-LCHlch(42.42, 55.40, 136.92°)
OKLaboklab(49.02% -0.1103 0.0864)
OKLCHoklch(49.02% 0.14 141.9)
XYZxyz(7.1770, 12.7718, 3.3830)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26731F #6C1F73
analogous
#50731F #26731F #1F7342
triadic
#26731F #1F2673 #731F26
tetradic
#26731F #1F5073 #6C1F73 #73421F
square
#26731F #1F5073 #6C1F73 #73421F
split-complementary
#26731F #421F73 #731F50
monochromatic
#081806 #164312 #26731F #36A32C #4CCC41

Accessibility & contrast

On white

5.91
#26731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#26731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26731F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26731F#FFFFFF#000000##FFFFFF
##26731F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#176F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #26731f;
/* rgb */ color: rgb(38, 115, 31);
/* oklch */ color: oklch(49.0% 0.140 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9c60',
    500: '#26731f',
    950: '#000000',
  },
}
SCSS
$custom: #26731f;
$custom-light: #6b9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#26731f",
  "rgb": {
    "r": 38,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 115,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.1401,
    "h": 141.9
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#26731F
secondary
#9F47A7
accent
#47E1D4
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26731F

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

Preview Lab → · Contrast checker → · Palette generator →

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