#266E20#266E20

#266E20 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 142.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#266E20
RGBrgb(38, 110, 32)
HSLhsl(115, 55%, 28%)
HSVhsv(115, 71%, 43%)
CMYKcmyk(65.5%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.68, -38.44, 35.57)
CIE-LCHlch(40.68, 52.37, 137.22°)
OKLaboklab(47.59% -0.1047 0.0818)
OKLCHoklch(47.59% 0.133 142)
XYZxyz(6.6356, 11.6676, 3.2686)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E20 #68206E
analogous
#4D6E20 #266E20 #206E41
triadic
#266E20 #20266E #6E2026
tetradic
#266E20 #204D6E #68206E #6E4120
square
#266E20 #204D6E #68206E #6E4120
split-complementary
#266E20 #41206E #6E204D
monochromatic
#081807 #163F12 #266E20 #369D2E #4BC841

Accessibility & contrast

On white

6.30
#266E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#266E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E20
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E20#FFFFFF#000000##FFFFFF
##266E201.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#196B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e20;
/* rgb */ color: rgb(38, 110, 32);
/* oklch */ color: oklch(47.6% 0.133 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9860',
    500: '#266e20',
    950: '#000000',
  },
}
SCSS
$custom: #266e20;
$custom-light: #6a9860;
$custom-dark: #000000;
JSON
{
  "hex": "#266e20",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 115.385,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.13287,
    "h": 142
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#266E20
secondary
#9B48A2
accent
#4ADED3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #266E20

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

Preview Lab → · Contrast checker → · Palette generator →

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