#26842F#26842F

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

Color values

HEX#26842F
RGBrgb(38, 132, 47)
HSLhsl(126, 55%, 33%)
HSVhsv(126, 71%, 52%)
CMYKcmyk(71.2%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.41, -45.07, 37.17)
CIE-LCHlch(48.41, 58.42, 140.49°)
OKLaboklab(54.03% -0.1219 0.0869)
OKLCHoklch(54.03% 0.15 144.5)
XYZxyz(9.5631, 17.1188, 5.4890)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26842F #84267B
analogous
#4C8426 #26842F #26845E
triadic
#26842F #2F2684 #842F26
tetradic
#26842F #264C84 #84267B #845E26
square
#26842F #264C84 #84267B #845E26
split-complementary
#26842F #5E2684 #84264C
monochromatic
#0B250D #18541E #26842F #34B440 #56CE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26842F#FFFFFF#000000##FFFFFF
##26842F1.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)
#867825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#058072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26842f;
/* rgb */ color: rgb(38, 132, 47);
/* oklch */ color: oklch(54.0% 0.150 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ea96b',
    500: '#26842f',
    950: '#000000',
  },
}
SCSS
$custom: #26842f;
$custom-light: #6ea96b;
$custom-dark: #000000;
JSON
{
  "hex": "#26842f",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 125.745,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.14971,
    "h": 144.5
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#26842F
secondary
#B353AA
accent
#49D0DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #26842F

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

Preview Lab → · Contrast checker → · Palette generator →

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