#26821B#26821B

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

Color values

HEX#26821B
RGBrgb(38, 130, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(70.8%, 0%, 79.2%, 49%)
CIE-LABlab(47.57, -46.27, 44.59)
CIE-LCHlch(47.57, 64.26, 136.06°)
OKLaboklab(53.28% -0.1262 0.0999)
OKLCHoklch(53.28% 0.161 141.6)
XYZxyz(8.9793, 16.4555, 3.7397)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26821B #771B82
analogous
#59821B #26821B #1B8243
triadic
#26821B #1B2682 #821B26
tetradic
#26821B #1B5982 #771B82 #82431B
square
#26821B #1B5982 #771B82 #82431B
split-complementary
#26821B #431B82 #821B59
monochromatic
#081D06 #174F10 #26821B #35B526 #50D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #26821b;
/* rgb */ color: rgb(38, 130, 27);
/* oklch */ color: oklch(53.3% 0.161 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#26821b',
    950: '#000000',
  },
}
SCSS
$custom: #26821b;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#26821b",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 113.592,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.16097,
    "h": 141.6
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#26821B
secondary
#A943B6
accent
#3FE9D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #26821B

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

Preview Lab → · Contrast checker → · Palette generator →

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