#26751F#26751F

#26751F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.143 H 142.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#26751F
RGBrgb(38, 117, 31)
HSLhsl(115, 58%, 29%)
HSVhsv(115, 74%, 46%)
CMYKcmyk(67.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.11, -41.22, 38.57)
CIE-LCHlch(43.11, 56.45, 136.90°)
OKLaboklab(49.6% -0.1123 0.0879)
OKLCHoklch(49.6% 0.143 142)
XYZxyz(7.4075, 13.2328, 3.4599)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26751F #6E1F75
analogous
#51751F #26751F #1F7543
triadic
#26751F #1F2675 #751F26
tetradic
#26751F #1F5175 #6E1F75 #75431F
square
#26751F #1F5175 #6E1F75 #75431F
split-complementary
#26751F #431F75 #751F51
monochromatic
#081806 #164512 #26751F #36A52C #4DCD42

Accessibility & contrast

On white

5.76
#26751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#26751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26751F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26751F#FFFFFF#000000##FFFFFF
##26751F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#167164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #26751f;
/* rgb */ color: rgb(38, 117, 31);
/* oklch */ color: oklch(49.6% 0.143 142.0);
Tailwind
colors: {
  custom: {
    50: '#6c9e60',
    500: '#26751f',
    950: '#000000',
  },
}
SCSS
$custom: #26751f;
$custom-light: #6c9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#26751f",
  "rgb": {
    "r": 38,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 115.116,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.14264,
    "h": 142
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#26751F
secondary
#A147A9
accent
#46E1D5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #26751F

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

Preview Lab → · Contrast checker → · Palette generator →

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