#266E2D#266E2D

#266E2D is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.122 H 145.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#266E2D
RGBrgb(38, 110, 45)
HSLhsl(126, 49%, 29%)
HSVhsv(126, 65%, 43%)
CMYKcmyk(65.5%, 0%, 59.1%, 56.9%)
CIE-LABlab(40.82, -36.86, 29.39)
CIE-LCHlch(40.82, 47.14, 141.43°)
OKLaboklab(47.75% -0.0998 0.0699)
OKLCHoklch(47.75% 0.122 145)
XYZxyz(6.8485, 11.7527, 4.3897)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E2D #6E2667
analogous
#436E26 #266E2D #266E51
triadic
#266E2D #2D266E #6E2D26
tetradic
#266E2D #26436E #6E2667 #6E5126
square
#266E2D #26436E #6E2667 #6E5126
split-complementary
#266E2D #51266E #6E2643
monochromatic
#081709 #16411A #266E2D #369B40 #4DC158

Accessibility & contrast

On white

6.27
#266E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #266E2D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E2D#FFFFFF#000000##FFFFFF
##266E2D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #266e2d;
/* rgb */ color: rgb(38, 110, 45);
/* oklch */ color: oklch(47.7% 0.122 145.0);
Tailwind
colors: {
  custom: {
    50: '#6a9868',
    500: '#266e2d',
    950: '#000000',
  },
}
SCSS
$custom: #266e2d;
$custom-light: #6a9868;
$custom-dark: #000000;
JSON
{
  "hex": "#266e2d",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 125.833,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.12182,
    "h": 145
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#266E2D
secondary
#A14F99
accent
#50CBD8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #266E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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