#266F20#266F20

#266F20 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.134 H 142.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#266F20
RGBrgb(38, 111, 32)
HSLhsl(115, 55%, 28%)
HSVhsv(115, 71%, 44%)
CMYKcmyk(65.8%, 0%, 71.2%, 56.5%)
CIE-LABlab(41.03, -38.83, 35.94)
CIE-LCHlch(41.03, 52.91, 137.21°)
OKLaboklab(47.88% -0.1058 0.0825)
OKLCHoklch(47.88% 0.134 142)
XYZxyz(6.7441, 11.8846, 3.3048)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F20 #69206F
analogous
#4D6F20 #266F20 #206F41
triadic
#266F20 #20266F #6F2026
tetradic
#266F20 #204D6F #69206F #6F4120
square
#266F20 #204D6F #69206F #6F4120
split-complementary
#266F20 #41206F #6F204D
monochromatic
#081807 #163F12 #266F20 #369F2E #4BC841

Accessibility & contrast

On white

6.22
#266F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#266F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F20
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F20#FFFFFF#000000##FFFFFF
##266F201.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726415
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#196C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f20;
/* rgb */ color: rgb(38, 111, 32);
/* oklch */ color: oklch(47.9% 0.134 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9960',
    500: '#266f20',
    950: '#000000',
  },
}
SCSS
$custom: #266f20;
$custom-light: #6a9960;
$custom-dark: #000000;
JSON
{
  "hex": "#266f20",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 115.443,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.1342,
    "h": 142
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#266F20
secondary
#9C48A3
accent
#49DFD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #266F20

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

Preview Lab → · Contrast checker → · Palette generator →

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