#266E2B#266E2B

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

Color values

HEX#266E2B
RGBrgb(38, 110, 43)
HSLhsl(124, 49%, 29%)
HSVhsv(124, 65%, 43%)
CMYKcmyk(65.5%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.80, -37.13, 30.39)
CIE-LCHlch(40.80, 47.98, 140.70°)
OKLaboklab(47.72% -0.1006 0.0719)
OKLCHoklch(47.72% 0.124 144.5)
XYZxyz(6.8109, 11.7377, 4.1917)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E2B #6E2669
analogous
#456E26 #266E2B #266E4F
triadic
#266E2B #2B266E #6E2B26
tetradic
#266E2B #26456E #6E2669 #6E4F26
square
#266E2B #26456E #6E2669 #6E4F26
split-complementary
#266E2B #4F266E #6E2645
monochromatic
#081709 #164119 #266E2B #369B3D #4DC155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##266E2B#FFFFFF#000000##FFFFFF
##266E2B1.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)
#706424
Deuteranopia (green-blind)
#675E30
Tritanopia (blue-blind)
#166B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e2b;
/* rgb */ color: rgb(38, 110, 43);
/* oklch */ color: oklch(47.7% 0.124 144.5);
Tailwind
colors: {
  custom: {
    50: '#6a9867',
    500: '#266e2b',
    950: '#000000',
  },
}
SCSS
$custom: #266e2b;
$custom-light: #6a9867;
$custom-dark: #000000;
JSON
{
  "hex": "#266e2b",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 124.167,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.12367,
    "h": 144.5
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#266E2B
secondary
#A14F9B
accent
#50CFD8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #266E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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