#26831F#26831F

#26831F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.160 H 142.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#26831F
RGBrgb(38, 131, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(71%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.93, -46.32, 43.50)
CIE-LCHlch(47.93, 63.54, 136.80°)
OKLaboklab(53.59% -0.1261 0.0982)
OKLCHoklch(53.59% 0.16 142.1)
XYZxyz(9.1624, 16.7426, 4.0448)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26831F #7C1F83
analogous
#58831F #26831F #1F834A
triadic
#26831F #1F2683 #831F26
tetradic
#26831F #1F5883 #7C1F83 #834A1F
square
#26831F #1F5883 #7C1F83 #834A1F
split-complementary
#26831F #4A1F83 #831F58
monochromatic
#092008 #185213 #26831F #34B42B #52D449

Accessibility & contrast

On white

4.83
#26831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#26831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26831F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26831F#FFFFFF#000000##FFFFFF
##26831F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#0E7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #26831f;
/* rgb */ color: rgb(38, 131, 31);
/* oklch */ color: oklch(53.6% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa862',
    500: '#26831f',
    950: '#000000',
  },
}
SCSS
$custom: #26831f;
$custom-light: #6fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#26831f",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 115.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.15986,
    "h": 142.1
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#26831F
secondary
#AE48B6
accent
#43E5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #26831F

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

Preview Lab → · Contrast checker → · Palette generator →

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