#26851B#26851B

#26851B is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.164 H 141.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#26851B
RGBrgb(38, 133, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 80%, 52%)
CMYKcmyk(71.4%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.59, -47.32, 45.58)
CIE-LCHlch(48.59, 65.70, 136.07°)
OKLaboklab(54.13% -0.129 0.102)
OKLCHoklch(54.13% 0.164 141.7)
XYZxyz(9.3842, 17.2653, 3.8747)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26851B #7A1B85
analogous
#5B851B #26851B #1B8545
triadic
#26851B #1B2685 #851B26
tetradic
#26851B #1B5B85 #7A1B85 #85451B
square
#26851B #1B5B85 #7A1B85 #85451B
split-complementary
#26851B #451B85 #851B5B
monochromatic
#091F06 #175211 #26851B #35B825 #51D942

Accessibility & contrast

On white

4.72
#26851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#26851B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26851B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26851B#FFFFFF#000000##FFFFFF
##26851B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7D7127
Tritanopia (blue-blind)
#0E8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #26851b;
/* rgb */ color: rgb(38, 133, 27);
/* oklch */ color: oklch(54.1% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#26851b',
    950: '#000000',
  },
}
SCSS
$custom: #26851b;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#26851b",
  "rgb": {
    "r": 38,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 113.774,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.16449,
    "h": 141.7
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26851B

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

Preview Lab → · Contrast checker → · Palette generator →

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