#266E17#266E17

#266E17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.139 H 140.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#266E17
RGBrgb(38, 110, 23)
HSLhsl(110, 65%, 26%)
HSVhsv(110, 79%, 43%)
CMYKcmyk(65.5%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.61, -39.25, 39.22)
CIE-LCHlch(40.61, 55.48, 135.02°)
OKLaboklab(47.51% -0.1075 0.0881)
OKLCHoklch(47.51% 0.139 140.7)
XYZxyz(6.5296, 11.6252, 2.7102)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E17 #5F176E
analogous
#516E17 #266E17 #176E33
triadic
#266E17 #17266E #6E1726
tetradic
#266E17 #17516E #5F176E #6E3317
square
#266E17 #17516E #5F176E #6E3317
split-complementary
#266E17 #33176E #6E1751
monochromatic
#091905 #153B0C #266E17 #37A122 #49D32C

Accessibility & contrast

On white

6.32
#266E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#266E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E17
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E17#FFFFFF#000000##FFFFFF
##266E171.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#685E20
Tritanopia (blue-blind)
#1B6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e17;
/* rgb */ color: rgb(38, 110, 23);
/* oklch */ color: oklch(47.5% 0.139 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b985b',
    500: '#266e17',
    950: '#000000',
  },
}
SCSS
$custom: #266e17;
$custom-light: #6b985b;
$custom-dark: #000000;
JSON
{
  "hex": "#266e17",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 109.655,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.13897,
    "h": 140.7
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#266E17
secondary
#923DA4
accent
#3FE8CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266E17

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

Preview Lab → · Contrast checker → · Palette generator →

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