#26821E#26821E

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

Color values

HEX#26821E
RGBrgb(38, 130, 30)
HSLhsl(115, 63%, 31%)
HSVhsv(115, 77%, 51%)
CMYKcmyk(70.8%, 0%, 76.9%, 49%)
CIE-LABlab(47.59, -46.04, 43.52)
CIE-LCHlch(47.59, 63.36, 136.61°)
OKLaboklab(53.3% -0.1254 0.0981)
OKLCHoklch(53.3% 0.159 142)
XYZxyz(9.0158, 16.4701, 3.9320)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26821E #7A1E82
analogous
#58821E #26821E #1E8248
triadic
#26821E #1E2682 #821E26
tetradic
#26821E #1E5882 #7A1E82 #82481E
square
#26821E #1E5882 #7A1E82 #82481E
split-complementary
#26821E #481E82 #821E58
monochromatic
#091F07 #175013 #26821E #35B429 #51D446

Accessibility & contrast

On white

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

On black

4.29
#26821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26821E#FFFFFF#000000##FFFFFF
##26821E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26821e;
/* rgb */ color: rgb(38, 130, 30);
/* oklch */ color: oklch(53.3% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa761',
    500: '#26821e',
    950: '#000000',
  },
}
SCSS
$custom: #26821e;
$custom-light: #6fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#26821e",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 115.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.15926,
    "h": 142
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#26821E
secondary
#AC47B5
accent
#42E6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #26821E

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

Preview Lab → · Contrast checker → · Palette generator →

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