#266C17#266C17

#266C17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.136 H 140.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#266C17
RGBrgb(38, 108, 23)
HSLhsl(109, 65%, 26%)
HSVhsv(109, 79%, 42%)
CMYKcmyk(64.8%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.91, -38.48, 38.52)
CIE-LCHlch(39.91, 54.45, 134.97°)
OKLaboklab(46.93% -0.1054 0.0867)
OKLCHoklch(46.93% 0.136 140.6)
XYZxyz(6.3162, 11.1985, 2.6391)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266C17 #5D176C
analogous
#506C17 #266C17 #176C32
triadic
#266C17 #17266C #6C1726
tetradic
#266C17 #17506C #5D176C #6C3217
square
#266C17 #17506C #5D176C #6C3217
split-complementary
#266C17 #32176C #6C1750
monochromatic
#091905 #143A0C #266C17 #389E22 #4AD12C

Accessibility & contrast

On white

6.48
#266C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#266C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266C17
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266C17#FFFFFF#000000##FFFFFF
##266C171.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#1C685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #266c17;
/* rgb */ color: rgb(38, 108, 23);
/* oklch */ color: oklch(46.9% 0.136 140.6);
Tailwind
colors: {
  custom: {
    50: '#6a975b',
    500: '#266c17',
    950: '#000000',
  },
}
SCSS
$custom: #266c17;
$custom-light: #6a975b;
$custom-dark: #000000;
JSON
{
  "hex": "#266c17",
  "rgb": {
    "r": 38,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 109.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.13645,
    "h": 140.6
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#266C17
secondary
#903DA2
accent
#40E8CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266C17

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

Preview Lab → · Contrast checker → · Palette generator →

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