#266E1F#266E1F

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

Color values

HEX#266E1F
RGBrgb(38, 110, 31)
HSLhsl(115, 56%, 28%)
HSVhsv(115, 72%, 43%)
CMYKcmyk(65.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.67, -38.54, 36.01)
CIE-LCHlch(40.67, 52.74, 136.95°)
OKLaboklab(47.58% -0.1051 0.0825)
OKLCHoklch(47.58% 0.134 141.9)
XYZxyz(6.6222, 11.6622, 3.1981)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E1F #671F6E
analogous
#4D6E1F #266E1F #1F6E40
triadic
#266E1F #1F266E #6E1F26
tetradic
#266E1F #1F4D6E #671F6E #6E401F
square
#266E1F #1F4D6E #671F6E #6E401F
split-complementary
#266E1F #401F6E #6E1F4D
monochromatic
#081807 #163E12 #266E1F #369E2C #4BC93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##266E1F#FFFFFF#000000##FFFFFF
##266E1F1.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)
#716414
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#196B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e1f;
/* rgb */ color: rgb(38, 110, 31);
/* oklch */ color: oklch(47.6% 0.134 141.9);
Tailwind
colors: {
  custom: {
    50: '#6a985f',
    500: '#266e1f',
    950: '#000000',
  },
}
SCSS
$custom: #266e1f;
$custom-light: #6a985f;
$custom-dark: #000000;
JSON
{
  "hex": "#266e1f",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 114.684,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.13362,
    "h": 141.9
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#266E1F
secondary
#9A47A2
accent
#48DFD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #266E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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