#266918#266918

#266918 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#266918
RGBrgb(38, 105, 24)
HSLhsl(110, 63%, 25%)
HSVhsv(110, 77%, 41%)
CMYKcmyk(63.8%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.86, -37.23, 37.08)
CIE-LCHlch(38.86, 52.55, 135.11°)
OKLaboklab(46.07% -0.102 0.0838)
OKLCHoklch(46.07% 0.132 140.6)
XYZxyz(6.0155, 10.5806, 2.5892)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266918 #5B1869
analogous
#4E6918 #266918 #186933
triadic
#266918 #182669 #691826
tetradic
#266918 #184E69 #5B1869 #693318
square
#266918 #184E69 #5B1869 #693318
split-complementary
#266918 #331869 #69184E
monochromatic
#091906 #14370D #266918 #389B23 #4ACD2F

Accessibility & contrast

On white

6.74
#266918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#266918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266918
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266918#FFFFFF#000000##FFFFFF
##2669181.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#1C6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #266918;
/* rgb */ color: rgb(38, 105, 24);
/* oklch */ color: oklch(46.1% 0.132 140.6);
Tailwind
colors: {
  custom: {
    50: '#6a955b',
    500: '#266918',
    950: '#000000',
  },
}
SCSS
$custom: #266918;
$custom-light: #6a955b;
$custom-dark: #000000;
JSON
{
  "hex": "#266918",
  "rgb": {
    "r": 38,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 109.63,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.13198,
    "h": 140.6
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#266918
secondary
#8E3E9F
accent
#42E6CA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266918

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

Preview Lab → · Contrast checker → · Palette generator →

#266918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva