#266E12#266E12

#266E12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.142 H 140.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#266E12
RGBrgb(38, 110, 18)
HSLhsl(107, 72%, 25%)
HSVhsv(107, 84%, 43%)
CMYKcmyk(65.5%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.58, -39.60, 40.94)
CIE-LCHlch(40.58, 56.95, 134.05°)
OKLaboklab(47.48% -0.1087 0.0909)
OKLCHoklch(47.48% 0.142 140.1)
XYZxyz(6.4841, 11.6070, 2.4708)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E12 #5A126E
analogous
#546E12 #266E12 #126E2C
triadic
#266E12 #12266E #6E1226
tetradic
#266E12 #12546E #5A126E #6E2C12
square
#266E12 #12546E #5A126E #6E2C12
split-complementary
#266E12 #2C126E #6E1254
monochromatic
#091A04 #143909 #266E12 #38A31B #4AD723

Accessibility & contrast

On white

6.32
#266E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#266E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E12
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E12#FFFFFF#000000##FFFFFF
##266E121.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695D1D
Tritanopia (blue-blind)
#1C6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e12;
/* rgb */ color: rgb(38, 110, 18);
/* oklch */ color: oklch(47.5% 0.142 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b9859',
    500: '#266e12',
    950: '#000000',
  },
}
SCSS
$custom: #266e12;
$custom-light: #6b9859;
$custom-dark: #000000;
JSON
{
  "hex": "#266e12",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 106.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.14172,
    "h": 140.1
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#266E12
secondary
#8D37A5
accent
#39EFC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266E12

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

Preview Lab → · Contrast checker → · Palette generator →

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