#26831A#26831A

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

Color values

HEX#26831A
RGBrgb(38, 131, 26)
HSLhsl(113, 67%, 31%)
HSVhsv(113, 80%, 51%)
CMYKcmyk(71%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.90, -46.69, 45.26)
CIE-LCHlch(47.90, 65.03, 135.90°)
OKLaboklab(53.56% -0.1274 0.1012)
OKLCHoklch(53.56% 0.163 141.5)
XYZxyz(9.1016, 16.7183, 3.7244)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26831A #771A83
analogous
#5A831A #26831A #1A8342
triadic
#26831A #1A2683 #831A26
tetradic
#26831A #1A5A83 #771A83 #83421A
square
#26831A #1A5A83 #771A83 #83421A
split-complementary
#26831A #421A83 #831A5A
monochromatic
#081D06 #175010 #26831A #35B624 #50D93F

Accessibility & contrast

On white

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

On black

4.34
#26831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26831A#FFFFFF#000000##FFFFFF
##26831A1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#107F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #26831a;
/* rgb */ color: rgb(38, 131, 26);
/* oklch */ color: oklch(53.6% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa85f',
    500: '#26831a',
    950: '#000000',
  },
}
SCSS
$custom: #26831a;
$custom-light: #6fa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#26831a",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 113.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.16268,
    "h": 141.5
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#26831A
secondary
#A942B7
accent
#3EEAD6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #26831A

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

Preview Lab → · Contrast checker → · Palette generator →

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