#26851F#26851F

#26851F is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.162 H 142.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#26851F
RGBrgb(38, 133, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 77%, 52%)
CMYKcmyk(71.4%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.62, -47.02, 44.18)
CIE-LCHlch(48.62, 64.52, 136.78°)
OKLaboklab(54.16% -0.128 0.0996)
OKLCHoklch(54.16% 0.162 142.1)
XYZxyz(9.4336, 17.2850, 4.1352)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26851F #7E1F85
analogous
#59851F #26851F #1F854B
triadic
#26851F #1F2685 #851F26
tetradic
#26851F #1F5985 #7E1F85 #854B1F
square
#26851F #1F5985 #7E1F85 #854B1F
split-complementary
#26851F #4B1F85 #851F59
monochromatic
#0A2208 #185313 #26851F #34B72B #53D54A

Accessibility & contrast

On white

4.71
#26851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#26851F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26851F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26851F#FFFFFF#000000##FFFFFF
##26851F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#0D8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26851f;
/* rgb */ color: rgb(38, 133, 31);
/* oklch */ color: oklch(54.2% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a962',
    500: '#26851f',
    950: '#000000',
  },
}
SCSS
$custom: #26851f;
$custom-light: #70a962;
$custom-dark: #000000;
JSON
{
  "hex": "#26851f",
  "rgb": {
    "r": 38,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 115.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.16223,
    "h": 142.1
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#26851F
secondary
#B049B7
accent
#43E5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #26851F

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

Preview Lab → · Contrast checker → · Palette generator →

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