#26802A#26802A

#26802A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.149 H 143.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#26802A
RGBrgb(38, 128, 42)
HSLhsl(123, 54%, 33%)
HSVhsv(123, 70%, 50%)
CMYKcmyk(70.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.00, -44.18, 37.91)
CIE-LCHlch(47.00, 58.22, 139.37°)
OKLaboklab(52.84% -0.1198 0.0879)
OKLCHoklch(52.84% 0.149 143.7)
XYZxyz(8.9359, 16.0166, 4.8106)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26802A #80267C
analogous
#4F8026 #26802A #268057
triadic
#26802A #2A2680 #802A26
tetradic
#26802A #264F80 #80267C #805726
square
#26802A #264F80 #80267C #805726
split-complementary
#26802A #572680 #80264F
monochromatic
#0A220B #18511B #26802A #34AF39 #54CC59

Accessibility & contrast

On white

5.00
#26802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#26802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26802A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26802A#FFFFFF#000000##FFFFFF
##26802A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#0C7C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #26802a;
/* rgb */ color: rgb(38, 128, 42);
/* oklch */ color: oklch(52.8% 0.149 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea668',
    500: '#26802a',
    950: '#000000',
  },
}
SCSS
$custom: #26802a;
$custom-light: #6ea668;
$custom-dark: #000000;
JSON
{
  "hex": "#26802a",
  "rgb": {
    "r": 38,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 122.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.14856,
    "h": 143.7
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#26802A
secondary
#B151AD
accent
#4AD7DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #26802A

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

Preview Lab → · Contrast checker → · Palette generator →

#26802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva