#26842D#26842D

#26842D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.151 H 144.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#26842D
RGBrgb(38, 132, 45)
HSLhsl(124, 55%, 33%)
HSVhsv(124, 71%, 52%)
CMYKcmyk(71.2%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.39, -45.31, 38.08)
CIE-LCHlch(48.39, 59.18, 139.96°)
OKLaboklab(54.01% -0.1227 0.0886)
OKLCHoklch(54.01% 0.151 144.2)
XYZxyz(9.5236, 17.1030, 5.2814)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26842D #84267D
analogous
#4E8426 #26842D #26845C
triadic
#26842D #2D2684 #842D26
tetradic
#26842D #264E84 #84267D #845C26
square
#26842D #264E84 #84267D #845C26
split-complementary
#26842D #5C2684 #84264E
monochromatic
#0B250D #18541D #26842D #34B43D #56CE5F

Accessibility & contrast

On white

4.75
#26842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#26842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26842D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26842D#FFFFFF#000000##FFFFFF
##26842D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#068072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26842d;
/* rgb */ color: rgb(38, 132, 45);
/* oklch */ color: oklch(54.0% 0.151 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa96a',
    500: '#26842d',
    950: '#000000',
  },
}
SCSS
$custom: #26842d;
$custom-light: #6fa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#26842d",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 124.468,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.15131,
    "h": 144.2
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#26842D
secondary
#B353AC
accent
#49D3DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #26842D

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

Preview Lab → · Contrast checker → · Palette generator →

#26842D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva