#26731C#26731C

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

Color values

HEX#26731C
RGBrgb(38, 115, 28)
HSLhsl(113, 61%, 28%)
HSVhsv(113, 76%, 45%)
CMYKcmyk(67%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.39, -40.74, 39.06)
CIE-LCHlch(42.39, 56.44, 136.20°)
OKLaboklab(49% -0.1112 0.0885)
OKLCHoklch(49% 0.142 141.5)
XYZxyz(7.1393, 12.7567, 3.1844)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26731C #691C73
analogous
#51731C #26731C #1C733D
triadic
#26731C #1C2673 #731C26
tetradic
#26731C #1C5173 #691C73 #733D1C
square
#26731C #1C5173 #691C73 #733D1C
split-complementary
#26731C #3D1C73 #731C51
monochromatic
#081906 #164210 #26731C #36A428 #4BCF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26731C#FFFFFF#000000##FFFFFF
##26731C1.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)
#76680D
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#186F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #26731c;
/* rgb */ color: rgb(38, 115, 28);
/* oklch */ color: oklch(49.0% 0.142 141.5);
Tailwind
colors: {
  custom: {
    50: '#6c9c5e',
    500: '#26731c',
    950: '#000000',
  },
}
SCSS
$custom: #26731c;
$custom-light: #6c9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#26731c",
  "rgb": {
    "r": 38,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 113.103,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.14213,
    "h": 141.5
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#26731C
secondary
#9C43A7
accent
#44E4D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26731C

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

Preview Lab → · Contrast checker → · Palette generator →

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