#266F18#266F18

#266F18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.140 H 140.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#266F18
RGBrgb(38, 111, 24)
HSLhsl(110, 64%, 26%)
HSVhsv(110, 78%, 44%)
CMYKcmyk(65.8%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.97, -39.55, 39.19)
CIE-LCHlch(40.97, 55.68, 135.26°)
OKLaboklab(47.81% -0.1082 0.0882)
OKLCHoklch(47.81% 0.14 140.8)
XYZxyz(6.6483, 11.8463, 2.8002)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F18 #61186F
analogous
#526F18 #266F18 #186F36
triadic
#266F18 #18266F #6F1826
tetradic
#266F18 #18526F #61186F #6F3618
square
#266F18 #18526F #61186F #6F3618
split-complementary
#266F18 #36186F #6F1852
monochromatic
#091905 #153D0D #266F18 #37A123 #4AD22F

Accessibility & contrast

On white

6.23
#266F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#266F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F18
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F18#FFFFFF#000000##FFFFFF
##266F181.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f18;
/* rgb */ color: rgb(38, 111, 24);
/* oklch */ color: oklch(47.8% 0.140 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b995c',
    500: '#266f18',
    950: '#000000',
  },
}
SCSS
$custom: #266f18;
$custom-light: #6b995c;
$custom-dark: #000000;
JSON
{
  "hex": "#266f18",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 110.345,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.13962,
    "h": 140.8
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#266F18
secondary
#943EA5
accent
#40E7CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266F18

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

Preview Lab → · Contrast checker → · Palette generator →

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