#266B17#266B17

#266B17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 140.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#266B17
RGBrgb(38, 107, 23)
HSLhsl(109, 65%, 25%)
HSVhsv(109, 79%, 42%)
CMYKcmyk(64.5%, 0%, 78.5%, 58%)
CIE-LABlab(39.56, -38.09, 38.17)
CIE-LCHlch(39.56, 53.93, 134.94°)
OKLaboklab(46.64% -0.1043 0.0859)
OKLCHoklch(46.64% 0.135 140.5)
XYZxyz(6.2114, 10.9887, 2.6042)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266B17 #5C176B
analogous
#506B17 #266B17 #176B32
triadic
#266B17 #17266B #6B1726
tetradic
#266B17 #17506B #5C176B #6B3217
square
#266B17 #17506B #5C176B #6B3217
split-complementary
#266B17 #32176B #6B1750
monochromatic
#091905 #14390C #266B17 #389D22 #4AD02D

Accessibility & contrast

On white

6.57
#266B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#266B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266B17
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266B17#FFFFFF#000000##FFFFFF
##266B171.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#1C675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #266b17;
/* rgb */ color: rgb(38, 107, 23);
/* oklch */ color: oklch(46.6% 0.135 140.5);
Tailwind
colors: {
  custom: {
    50: '#6a965b',
    500: '#266b17',
    950: '#000000',
  },
}
SCSS
$custom: #266b17;
$custom-light: #6a965b;
$custom-dark: #000000;
JSON
{
  "hex": "#266b17",
  "rgb": {
    "r": 38,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 109.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.13518,
    "h": 140.5
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#266B17
secondary
#8F3DA1
accent
#40E8CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266B17

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

Preview Lab → · Contrast checker → · Palette generator →

#266B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva