#266A17#266A17

#266A17 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.134 H 140.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#266A17
RGBrgb(38, 106, 23)
HSLhsl(109, 64%, 25%)
HSVhsv(109, 78%, 42%)
CMYKcmyk(64.2%, 0%, 78.3%, 58.4%)
CIE-LABlab(39.21, -37.70, 37.82)
CIE-LCHlch(39.21, 53.40, 134.91°)
OKLaboklab(46.35% -0.1033 0.0852)
OKLCHoklch(46.35% 0.134 140.5)
XYZxyz(6.1077, 10.7814, 2.5696)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A17 #5B176A
analogous
#4F6A17 #266A17 #176A32
triadic
#266A17 #17266A #6A1726
tetradic
#266A17 #174F6A #5B176A #6A3217
square
#266A17 #174F6A #5B176A #6A3217
split-complementary
#266A17 #32176A #6A174F
monochromatic
#091905 #14380C #266A17 #389C22 #4ACF2D

Accessibility & contrast

On white

6.65
#266A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#266A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266A17
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266A17#FFFFFF#000000##FFFFFF
##266A171.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#1C665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #266a17;
/* rgb */ color: rgb(38, 106, 23);
/* oklch */ color: oklch(46.4% 0.134 140.5);
Tailwind
colors: {
  custom: {
    50: '#6a955a',
    500: '#266a17',
    950: '#000000',
  },
}
SCSS
$custom: #266a17;
$custom-light: #6a955a;
$custom-dark: #000000;
JSON
{
  "hex": "#266a17",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 109.157,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.13391,
    "h": 140.5
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#266A17
secondary
#8E3DA0
accent
#40E7C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266A17

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

Preview Lab → · Contrast checker → · Palette generator →

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