#266A18#266A18

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

Color values

HEX#266A18
RGBrgb(38, 106, 24)
HSLhsl(110, 63%, 25%)
HSVhsv(110, 77%, 42%)
CMYKcmyk(64.2%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.22, -37.62, 37.44)
CIE-LCHlch(39.22, 53.07, 135.14°)
OKLaboklab(46.36% -0.103 0.0846)
OKLCHoklch(46.36% 0.133 140.6)
XYZxyz(6.1179, 10.7855, 2.6234)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A18 #5C186A
analogous
#4F6A18 #266A18 #186A33
triadic
#266A18 #18266A #6A1826
tetradic
#266A18 #184F6A #5C186A #6A3318
square
#266A18 #184F6A #5C186A #6A3318
split-complementary
#266A18 #33186A #6A184F
monochromatic
#091906 #14380D #266A18 #389C23 #4ACE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##266A18#FFFFFF#000000##FFFFFF
##266A181.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)
#6D6009
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#1C665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #266a18;
/* rgb */ color: rgb(38, 106, 24);
/* oklch */ color: oklch(46.4% 0.133 140.6);
Tailwind
colors: {
  custom: {
    50: '#6a955b',
    500: '#266a18',
    950: '#000000',
  },
}
SCSS
$custom: #266a18;
$custom-light: #6a955b;
$custom-dark: #000000;
JSON
{
  "hex": "#266a18",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 109.756,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.13327,
    "h": 140.6
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#266A18
secondary
#8F3EA0
accent
#42E6CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266A18

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

Preview Lab → · Contrast checker → · Palette generator →

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