#266F1A#266F1A

#266F1A is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.138 H 141.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#266F1A
RGBrgb(38, 111, 26)
HSLhsl(112, 62%, 27%)
HSVhsv(112, 77%, 44%)
CMYKcmyk(65.8%, 0%, 76.6%, 56.5%)
CIE-LABlab(40.98, -39.39, 38.43)
CIE-LCHlch(40.98, 55.03, 135.71°)
OKLaboklab(47.82% -0.1077 0.0869)
OKLCHoklch(47.82% 0.138 141.1)
XYZxyz(6.6699, 11.8549, 2.9138)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F1A #631A6F
analogous
#516F1A #266F1A #1A6F38
triadic
#266F1A #1A266F #6F1A26
tetradic
#266F1A #1A516F #631A6F #6F381A
square
#266F1A #1A516F #631A6F #6F381A
split-complementary
#266F1A #381A6F #6F1A51
monochromatic
#081906 #153D0E #266F1A #37A126 #4ACF34

Accessibility & contrast

On white

6.23
#266F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#266F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F1A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F1A#FFFFFF#000000##FFFFFF
##266F1A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640A
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#1A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f1a;
/* rgb */ color: rgb(38, 111, 26);
/* oklch */ color: oklch(47.8% 0.138 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b995d',
    500: '#266f1a',
    950: '#000000',
  },
}
SCSS
$custom: #266f1a;
$custom-light: #6b995d;
$custom-dark: #000000;
JSON
{
  "hex": "#266f1a",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 111.529,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.13837,
    "h": 141.1
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#266F1A
secondary
#9641A4
accent
#43E5CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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