#266917#266917

#266917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.133 H 140.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#266917
RGBrgb(38, 105, 23)
HSLhsl(109, 64%, 25%)
HSVhsv(109, 78%, 41%)
CMYKcmyk(63.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.86, -37.31, 37.47)
CIE-LCHlch(38.86, 52.88, 134.88°)
OKLaboklab(46.06% -0.1022 0.0845)
OKLCHoklch(46.06% 0.133 140.4)
XYZxyz(6.0053, 10.5765, 2.5355)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266917 #5A1769
analogous
#4F6917 #266917 #176931
triadic
#266917 #172669 #691726
tetradic
#266917 #174F69 #5A1769 #693117
square
#266917 #174F69 #5A1769 #693117
split-complementary
#266917 #311769 #69174F
monochromatic
#091905 #14370C #266917 #389B22 #4ACD2D

Accessibility & contrast

On white

6.74
#266917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#266917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266917
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266917#FFFFFF#000000##FFFFFF
##2669171.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #266917;
/* rgb */ color: rgb(38, 105, 23);
/* oklch */ color: oklch(46.1% 0.133 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a955a',
    500: '#266917',
    950: '#000000',
  },
}
SCSS
$custom: #266917;
$custom-light: #6a955a;
$custom-dark: #000000;
JSON
{
  "hex": "#266917",
  "rgb": {
    "r": 38,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 109.024,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.13263,
    "h": 140.4
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#266917
secondary
#8D3D9F
accent
#41E7C9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266917

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

Preview Lab → · Contrast checker → · Palette generator →

#266917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva