#26731E#26731E

#26731E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.141 H 141.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#26731E
RGBrgb(38, 115, 30)
HSLhsl(114, 59%, 28%)
HSVhsv(114, 74%, 45%)
CMYKcmyk(67%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.41, -40.56, 38.26)
CIE-LCHlch(42.41, 55.75, 136.67°)
OKLaboklab(49.01% -0.1106 0.0871)
OKLCHoklch(49.01% 0.141 141.8)
XYZxyz(7.1640, 12.7666, 3.3147)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26731E #6B1E73
analogous
#50731E #26731E #1E7340
triadic
#26731E #1E2673 #731E26
tetradic
#26731E #1E5073 #6B1E73 #73401E
square
#26731E #1E5073 #6B1E73 #73401E
split-complementary
#26731E #401E73 #731E50
monochromatic
#081806 #164211 #26731E #36A42B #4CCD3F

Accessibility & contrast

On white

5.91
#26731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#26731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26731E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26731E#FFFFFF#000000##FFFFFF
##26731E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#186F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #26731e;
/* rgb */ color: rgb(38, 115, 30);
/* oklch */ color: oklch(49.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9c5f',
    500: '#26731e',
    950: '#000000',
  },
}
SCSS
$custom: #26731e;
$custom-light: #6b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#26731e",
  "rgb": {
    "r": 38,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 114.353,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.14079,
    "h": 141.8
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#26731E
secondary
#9E46A7
accent
#46E2D3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26731E

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

Preview Lab → · Contrast checker → · Palette generator →

#26731E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva