#266E2F#266E2F

#266E2F is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.120 H 145.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#266E2F
RGBrgb(38, 110, 47)
HSLhsl(128, 49%, 29%)
HSVhsv(128, 65%, 43%)
CMYKcmyk(65.5%, 0%, 57.3%, 56.9%)
CIE-LABlab(40.85, -36.57, 28.37)
CIE-LCHlch(40.85, 46.28, 142.20°)
OKLaboklab(47.78% -0.0989 0.0678)
OKLCHoklch(47.78% 0.12 145.6)
XYZxyz(6.8879, 11.7685, 4.5973)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E2F #6E2665
analogous
#416E26 #266E2F #266E53
triadic
#266E2F #2F266E #6E2F26
tetradic
#266E2F #26416E #6E2665 #6E5326
square
#266E2F #26416E #6E2665 #6E5326
split-complementary
#266E2F #53266E #6E2641
monochromatic
#08170A #16411C #266E2F #369B42 #4DC15B

Accessibility & contrast

On white

6.26
#266E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#266E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E2F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E2F#FFFFFF#000000##FFFFFF
##266E2F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#156B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e2f;
/* rgb */ color: rgb(38, 110, 47);
/* oklch */ color: oklch(47.8% 0.120 145.6);
Tailwind
colors: {
  custom: {
    50: '#699869',
    500: '#266e2f',
    950: '#000000',
  },
}
SCSS
$custom: #266e2f;
$custom-light: #699869;
$custom-dark: #000000;
JSON
{
  "hex": "#266e2f",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 127.5,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.11994,
    "h": 145.6
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#266E2F
secondary
#A14F97
accent
#50C7D8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #266E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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