#26931F#26931F

#26931F is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.1% C 0.178 H 142.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#26931F
RGBrgb(38, 147, 31)
HSLhsl(116, 65%, 35%)
HSVhsv(116, 79%, 58%)
CMYKcmyk(74.1%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.36, -51.81, 48.85)
CIE-LCHlch(53.36, 71.21, 136.69°)
OKLaboklab(58.1% -0.141 0.1094)
OKLCHoklch(58.1% 0.178 142.2)
XYZxyz(11.4797, 21.3771, 4.8173)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26931F #8C1F93
analogous
#60931F #26931F #1F9352
triadic
#26931F #1F2693 #931F26
tetradic
#26931F #1F6093 #8C1F93 #93521F
square
#26931F #1F6093 #8C1F93 #93521F
split-complementary
#26931F #521F93 #931F60
monochromatic
#0C2E0A #196014 #26931F #33C62A #5ADA52

Accessibility & contrast

On white

3.98
#26931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#26931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26931F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26931F#FFFFFF#000000##000000
##26931F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #26931f;
/* rgb */ color: rgb(38, 147, 31);
/* oklch */ color: oklch(58.1% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b464',
    500: '#26931f',
    950: '#000000',
  },
}
SCSS
$custom: #26931f;
$custom-light: #73b464;
$custom-dark: #000000;
JSON
{
  "hex": "#26931f",
  "rgb": {
    "r": 38,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 116.379,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.17844,
    "h": 142.2
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#26931F
secondary
#B750BE
accent
#40E8DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #26931F

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

Preview Lab → · Contrast checker → · Palette generator →

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