#26842E#26842E

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

Color values

HEX#26842E
RGBrgb(38, 132, 46)
HSLhsl(125, 55%, 33%)
HSVhsv(125, 71%, 52%)
CMYKcmyk(71.2%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.40, -45.19, 37.63)
CIE-LCHlch(48.40, 58.80, 140.22°)
OKLaboklab(54.02% -0.1223 0.0877)
OKLCHoklch(54.02% 0.151 144.3)
XYZxyz(9.5431, 17.1108, 5.3840)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26842E #84267C
analogous
#4D8426 #26842E #26845D
triadic
#26842E #2E2684 #842E26
tetradic
#26842E #264D84 #84267C #845D26
square
#26842E #264D84 #84267C #845D26
split-complementary
#26842E #5D2684 #84264D
monochromatic
#0B250D #18541D #26842E #34B43F #56CE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26842E#FFFFFF#000000##FFFFFF
##26842E1.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)
#867824
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#068072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26842e;
/* rgb */ color: rgb(38, 132, 46);
/* oklch */ color: oklch(54.0% 0.151 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fa96a',
    500: '#26842e',
    950: '#000000',
  },
}
SCSS
$custom: #26842e;
$custom-light: #6fa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#26842e",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 125.106,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.15052,
    "h": 144.3
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#26842E
secondary
#B353AB
accent
#49D2DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #26842E

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

Preview Lab → · Contrast checker → · Palette generator →

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