#26821F#26821F

#26821F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.159 H 142.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#26821F
RGBrgb(38, 130, 31)
HSLhsl(116, 61%, 32%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(70.8%, 0%, 76.2%, 49%)
CIE-LABlab(47.59, -45.96, 43.15)
CIE-LCHlch(47.59, 63.05, 136.81°)
OKLaboklab(53.31% -0.1252 0.0975)
OKLCHoklch(53.31% 0.159 142.1)
XYZxyz(9.0288, 16.4753, 4.0003)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26821F #7B1F82
analogous
#58821F #26821F #1F824A
triadic
#26821F #1F2682 #821F26
tetradic
#26821F #1F5882 #7B1F82 #824A1F
square
#26821F #1F5882 #7B1F82 #824A1F
split-complementary
#26821F #4A1F82 #821F58
monochromatic
#091F07 #185113 #26821F #34B32B #52D348

Accessibility & contrast

On white

4.89
#26821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#26821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26821F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26821F#FFFFFF#000000##FFFFFF
##26821F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#0F7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #26821f;
/* rgb */ color: rgb(38, 130, 31);
/* oklch */ color: oklch(53.3% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa762',
    500: '#26821f',
    950: '#000000',
  },
}
SCSS
$custom: #26821f;
$custom-light: #6fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#26821f",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 115.758,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53309,
    "c": 0.15866,
    "h": 142.1
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#26821F
secondary
#AD48B5
accent
#43E5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #26821F

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

Preview Lab → · Contrast checker → · Palette generator →

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