#266916#266916

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

Color values

HEX#266916
RGBrgb(38, 105, 22)
HSLhsl(108, 65%, 25%)
HSVhsv(108, 79%, 41%)
CMYKcmyk(63.8%, 0%, 79%, 58.8%)
CIE-LABlab(38.85, -37.39, 37.85)
CIE-LCHlch(38.85, 53.20, 134.65°)
OKLaboklab(46.05% -0.1025 0.0851)
OKLCHoklch(46.05% 0.133 140.3)
XYZxyz(5.9954, 10.5726, 2.4837)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266916 #591669
analogous
#4F6916 #266916 #166930
triadic
#266916 #162669 #691626
tetradic
#266916 #164F69 #591669 #693016
square
#266916 #164F69 #591669 #693016
split-complementary
#266916 #301669 #69164F
monochromatic
#091905 #14360B #266916 #389C21 #4BCE2B

Accessibility & contrast

On white

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

On black

3.11
#266916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##266916#FFFFFF#000000##FFFFFF
##2669161.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #266916;
/* rgb */ color: rgb(38, 105, 22);
/* oklch */ color: oklch(46.1% 0.133 140.3);
Tailwind
colors: {
  custom: {
    50: '#6a955a',
    500: '#266916',
    950: '#000000',
  },
}
SCSS
$custom: #266916;
$custom-light: #6a955a;
$custom-dark: #000000;
JSON
{
  "hex": "#266916",
  "rgb": {
    "r": 38,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 108.434,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.13324,
    "h": 140.3
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#266916
secondary
#8C3B9F
accent
#3FE8C8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266916

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

Preview Lab → · Contrast checker → · Palette generator →

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