#26701F#26701F

#26701F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 141.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#26701F
RGBrgb(38, 112, 31)
HSLhsl(115, 57%, 28%)
HSVhsv(115, 72%, 44%)
CMYKcmyk(66.1%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.37, -39.32, 36.75)
CIE-LCHlch(41.37, 53.82, 136.94°)
OKLaboklab(48.16% -0.1072 0.0841)
OKLCHoklch(48.16% 0.136 141.9)
XYZxyz(6.8405, 12.0987, 3.2708)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26701F #691F70
analogous
#4E701F #26701F #1F7040
triadic
#26701F #1F2670 #701F26
tetradic
#26701F #1F4E70 #691F70 #70401F
square
#26701F #1F4E70 #691F70 #70401F
split-complementary
#26701F #401F70 #701F4E
monochromatic
#081807 #164012 #26701F #36A02C #4BCA3F

Accessibility & contrast

On white

6.14
#26701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#26701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26701F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26701F#FFFFFF#000000##FFFFFF
##26701F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#196C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #26701f;
/* rgb */ color: rgb(38, 112, 31);
/* oklch */ color: oklch(48.2% 0.136 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9a5f',
    500: '#26701f',
    950: '#000000',
  },
}
SCSS
$custom: #26701f;
$custom-light: #6b9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#26701f",
  "rgb": {
    "r": 38,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 114.815,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.13623,
    "h": 141.9
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#26701F
secondary
#9C47A4
accent
#48E0D3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26701F

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

Preview Lab → · Contrast checker → · Palette generator →

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