#26811F#26811F

#26811F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.157 H 142.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#26811F
RGBrgb(38, 129, 31)
HSLhsl(116, 61%, 31%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(70.5%, 0%, 76%, 49.4%)
CIE-LABlab(47.25, -45.61, 42.81)
CIE-LCHlch(47.25, 62.55, 136.81°)
OKLaboklab(53.03% -0.1242 0.0968)
OKLCHoklch(53.03% 0.157 142.1)
XYZxyz(8.8964, 16.2106, 3.9562)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26811F #7A1F81
analogous
#57811F #26811F #1F8149
triadic
#26811F #1F2681 #811F26
tetradic
#26811F #1F5781 #7A1F81 #81491F
square
#26811F #1F5781 #7A1F81 #81491F
split-complementary
#26811F #491F81 #811F57
monochromatic
#091E07 #175013 #26811F #35B22B #51D347

Accessibility & contrast

On white

4.95
#26811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#26811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26811F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26811F#FFFFFF#000000##FFFFFF
##26811F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#107D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #26811f;
/* rgb */ color: rgb(38, 129, 31);
/* oklch */ color: oklch(53.0% 0.157 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa662',
    500: '#26811f',
    950: '#000000',
  },
}
SCSS
$custom: #26811f;
$custom-light: #6fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#26811f",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 115.714,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.15746,
    "h": 142.1
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#26811F
secondary
#AC48B4
accent
#43E4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #26811F

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

Preview Lab → · Contrast checker → · Palette generator →

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