#26841F#26841F

#26841F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.161 H 142.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#26841F
RGBrgb(38, 132, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 77%, 52%)
CMYKcmyk(71.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.28, -46.67, 43.84)
CIE-LCHlch(48.28, 64.03, 136.79°)
OKLaboklab(53.88% -0.1271 0.0989)
OKLCHoklch(53.88% 0.161 142.1)
XYZxyz(9.2974, 17.0125, 4.0898)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26841F #7D1F84
analogous
#58841F #26841F #1F844B
triadic
#26841F #1F2684 #841F26
tetradic
#26841F #1F5884 #7D1F84 #844B1F
square
#26841F #1F5884 #7D1F84 #844B1F
split-complementary
#26841F #4B1F84 #841F58
monochromatic
#092108 #185213 #26841F #34B62B #53D449

Accessibility & contrast

On white

4.77
#26841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#26841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26841F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26841F#FFFFFF#000000##FFFFFF
##26841F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#0D8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26841f;
/* rgb */ color: rgb(38, 132, 31);
/* oklch */ color: oklch(53.9% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#26841f',
    950: '#000000',
  },
}
SCSS
$custom: #26841f;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#26841f",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 115.842,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.16105,
    "h": 142.1
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#26841F
secondary
#AF48B7
accent
#43E5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #26841F

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

Preview Lab → · Contrast checker → · Palette generator →

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