#26921F#26921F

#26921F is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.177 H 142.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#26921F
RGBrgb(38, 146, 31)
HSLhsl(116, 65%, 35%)
HSVhsv(116, 79%, 57%)
CMYKcmyk(74%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.02, -51.48, 48.52)
CIE-LCHlch(53.02, 70.74, 136.69°)
OKLaboklab(57.82% -0.1401 0.1087)
OKLCHoklch(57.82% 0.177 142.2)
XYZxyz(11.3249, 21.0675, 4.7657)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26921F #8B1F92
analogous
#60921F #26921F #1F9252
triadic
#26921F #1F2692 #921F26
tetradic
#26921F #1F6092 #8B1F92 #92521F
square
#26921F #1F6092 #8B1F92 #92521F
split-complementary
#26921F #521F92 #921F60
monochromatic
#0C2D0A #196014 #26921F #33C42A #5ADA51

Accessibility & contrast

On white

4.03
#26921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#26921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26921F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26921F#FFFFFF#000000##000000
##26921F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #26921f;
/* rgb */ color: rgb(38, 146, 31);
/* oklch */ color: oklch(57.8% 0.177 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b364',
    500: '#26921f',
    950: '#000000',
  },
}
SCSS
$custom: #26921f;
$custom-light: #73b364;
$custom-dark: #000000;
JSON
{
  "hex": "#26921f",
  "rgb": {
    "r": 38,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 116.348,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.1773,
    "h": 142.2
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#26921F
secondary
#B750BD
accent
#40E8DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #26921F

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

Preview Lab → · Contrast checker → · Palette generator →

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