#266E28#266E28

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

Color values

HEX#266E28
RGBrgb(38, 110, 40)
HSLhsl(122, 49%, 29%)
HSVhsv(122, 65%, 43%)
CMYKcmyk(65.5%, 0%, 63.6%, 56.9%)
CIE-LABlab(40.76, -37.52, 31.87)
CIE-LCHlch(40.76, 49.23, 139.66°)
OKLaboklab(47.68% -0.1018 0.0748)
OKLCHoklch(47.68% 0.126 143.7)
XYZxyz(6.7579, 11.7165, 3.9124)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E28 #6E266C
analogous
#486E26 #266E28 #266E4C
triadic
#266E28 #28266E #6E2826
tetradic
#266E28 #26486E #6E266C #6E4C26
square
#266E28 #26486E #6E266C #6E4C26
split-complementary
#266E28 #4C266E #6E2648
monochromatic
#081708 #164117 #266E28 #369B39 #4DC150

Accessibility & contrast

On white

6.28
#266E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#266E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E28
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E28#FFFFFF#000000##FFFFFF
##266E281.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#675E2E
Tritanopia (blue-blind)
#176B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e28;
/* rgb */ color: rgb(38, 110, 40);
/* oklch */ color: oklch(47.7% 0.126 143.7);
Tailwind
colors: {
  custom: {
    50: '#6a9865',
    500: '#266e28',
    950: '#000000',
  },
}
SCSS
$custom: #266e28;
$custom-light: #6a9865;
$custom-dark: #000000;
JSON
{
  "hex": "#266e28",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 121.667,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.12634,
    "h": 143.7
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#266E28
secondary
#A14F9E
accent
#50D4D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #266E28

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

Preview Lab → · Contrast checker → · Palette generator →

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