#26821C#26821C

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

Color values

HEX#26821C
RGBrgb(38, 130, 28)
HSLhsl(114, 65%, 31%)
HSVhsv(114, 78%, 51%)
CMYKcmyk(70.8%, 0%, 78.5%, 49%)
CIE-LABlab(47.57, -46.20, 44.24)
CIE-LCHlch(47.57, 63.96, 136.24°)
OKLaboklab(53.29% -0.126 0.0993)
OKLCHoklch(53.29% 0.16 141.7)
XYZxyz(8.9911, 16.4602, 3.8017)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26821C #781C82
analogous
#59821C #26821C #1C8245
triadic
#26821C #1C2682 #821C26
tetradic
#26821C #1C5982 #781C82 #82451C
square
#26821C #1C5982 #781C82 #82451C
split-complementary
#26821C #451C82 #821C59
monochromatic
#091D06 #175011 #26821C #35B427 #51D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26821C#FFFFFF#000000##FFFFFF
##26821C1.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)
#857505
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#107E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #26821c;
/* rgb */ color: rgb(38, 130, 28);
/* oklch */ color: oklch(53.3% 0.160 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#26821c',
    950: '#000000',
  },
}
SCSS
$custom: #26821c;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#26821c",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 114.118,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.16041,
    "h": 141.7
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#26821C
secondary
#AA44B5
accent
#40E8D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #26821C

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

Preview Lab → · Contrast checker → · Palette generator →

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