#26831B#26831B

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

Color values

HEX#26831B
RGBrgb(38, 131, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(71%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.91, -46.62, 44.92)
CIE-LCHlch(47.91, 64.74, 136.07°)
OKLaboklab(53.56% -0.1272 0.1006)
OKLCHoklch(53.56% 0.162 141.7)
XYZxyz(9.1130, 16.7228, 3.7843)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26831B #781B83
analogous
#5A831B #26831B #1B8344
triadic
#26831B #1B2683 #831B26
tetradic
#26831B #1B5A83 #781B83 #83441B
square
#26831B #1B5A83 #781B83 #83441B
split-complementary
#26831B #441B83 #831B5A
monochromatic
#091E06 #175011 #26831B #35B625 #51D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26831B#FFFFFF#000000##FFFFFF
##26831B1.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)
#867602
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#0F7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #26831b;
/* rgb */ color: rgb(38, 131, 27);
/* oklch */ color: oklch(53.6% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa860',
    500: '#26831b',
    950: '#000000',
  },
}
SCSS
$custom: #26831b;
$custom-light: #6fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#26831b",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 113.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.16214,
    "h": 141.7
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#26831B
secondary
#AA43B6
accent
#3FE9D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #26831B

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

Preview Lab → · Contrast checker → · Palette generator →

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