#26872C#26872C

#26872C is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.156 H 143.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#26872C
RGBrgb(38, 135, 44)
HSLhsl(124, 56%, 34%)
HSVhsv(124, 72%, 53%)
CMYKcmyk(71.9%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.40, -46.51, 39.65)
CIE-LCHlch(49.40, 61.11, 139.55°)
OKLaboklab(54.84% -0.126 0.0918)
OKLCHoklch(54.84% 0.156 143.9)
XYZxyz(9.9173, 17.9208, 5.3188)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26872C #872681
analogous
#518726 #26872C #26875D
triadic
#26872C #2C2687 #872C26
tetradic
#26872C #265187 #872681 #875D26
square
#26872C #265187 #872681 #875D26
split-complementary
#26872C #5D2687 #872651
monochromatic
#0B270D #19571C #26872C #33B73C #58D05F

Accessibility & contrast

On white

4.58
#26872C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#26872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26872C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26872C#FFFFFF#000000##000000
##26872C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#048374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26872c;
/* rgb */ color: rgb(38, 135, 44);
/* oklch */ color: oklch(54.8% 0.156 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fab69',
    500: '#26872c',
    950: '#000000',
  },
}
SCSS
$custom: #26872c;
$custom-light: #6fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#26872c",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 123.711,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.15586,
    "h": 143.9
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#26872C
secondary
#B554AF
accent
#48D6DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #26872C

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

Preview Lab → · Contrast checker → · Palette generator →

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