#26873F#26873F

#26873F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.140 H 148.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#26873F
RGBrgb(38, 135, 63)
HSLhsl(135, 56%, 34%)
HSVhsv(135, 72%, 53%)
CMYKcmyk(71.9%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.61, -43.98, 30.61)
CIE-LCHlch(49.61, 53.58, 145.17°)
OKLaboklab(55.09% -0.1185 0.0738)
OKLCHoklch(55.09% 0.14 148.1)
XYZxyz(10.3597, 18.0978, 7.6489)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26873F #87266E
analogous
#3E8726 #26873F #268770
triadic
#26873F #3F2687 #873F26
tetradic
#26873F #263E87 #87266E #877026
square
#26873F #263E87 #87266E #877026
split-complementary
#26873F #702687 #87263E
monochromatic
#0B2712 #195729 #26873F #33B755 #58D077

Accessibility & contrast

On white

4.55
#26873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#26873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26873F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26873F#FFFFFF#000000##000000
##26873F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #26873f;
/* rgb */ color: rgb(38, 135, 63);
/* oklch */ color: oklch(55.1% 0.140 148.1);
Tailwind
colors: {
  custom: {
    50: '#6eab76',
    500: '#26873f',
    950: '#000000',
  },
}
SCSS
$custom: #26873f;
$custom-light: #6eab76;
$custom-dark: #000000;
JSON
{
  "hex": "#26873f",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 135.464,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.13959,
    "h": 148.1
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#26873F
secondary
#B5549C
accent
#48B8DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #26873F

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

Preview Lab → · Contrast checker → · Palette generator →

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