#26841B#26841B

#26841B is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.163 H 141.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#26841B
RGBrgb(38, 132, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 80%, 52%)
CMYKcmyk(71.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.25, -46.97, 45.25)
CIE-LCHlch(48.25, 65.22, 136.07°)
OKLaboklab(53.85% -0.1281 0.1013)
OKLCHoklch(53.85% 0.163 141.7)
XYZxyz(9.2479, 16.9927, 3.8293)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26841B #791B84
analogous
#5A841B #26841B #1B8444
triadic
#26841B #1B2684 #841B26
tetradic
#26841B #1B5A84 #791B84 #84441B
square
#26841B #1B5A84 #791B84 #84441B
split-complementary
#26841B #441B84 #841B5A
monochromatic
#091E06 #175111 #26841B #35B725 #51D841

Accessibility & contrast

On white

4.77
#26841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#26841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26841B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26841B#FFFFFF#000000##FFFFFF
##26841B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#0F8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26841b;
/* rgb */ color: rgb(38, 132, 27);
/* oklch */ color: oklch(53.8% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#26841b',
    950: '#000000',
  },
}
SCSS
$custom: #26841b;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#26841b",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 113.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.16332,
    "h": 141.7
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26841B

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

Preview Lab → · Contrast checker → · Palette generator →

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