#266B1F#266B1F

#266B1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 141.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#266B1F
RGBrgb(38, 107, 31)
HSLhsl(114, 55%, 27%)
HSVhsv(114, 71%, 42%)
CMYKcmyk(64.5%, 0%, 71%, 58%)
CIE-LABlab(39.62, -37.36, 34.89)
CIE-LCHlch(39.62, 51.12, 136.97°)
OKLaboklab(46.71% -0.1019 0.0802)
OKLCHoklch(46.71% 0.13 141.8)
XYZxyz(6.3040, 11.0258, 3.0920)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266B1F #641F6B
analogous
#4C6B1F #266B1F #1F6B3E
triadic
#266B1F #1F266B #6B1F26
tetradic
#266B1F #1F4C6B #641F6B #6B3E1F
square
#266B1F #1F4C6B #641F6B #6B3E1F
split-complementary
#266B1F #3E1F6B #6B1F4C
monochromatic
#081807 #153C11 #266B1F #379A2D #4AC73D

Accessibility & contrast

On white

6.55
#266B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#266B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266B1F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266B1F#FFFFFF#000000##FFFFFF
##266B1F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6115
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#1A685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #266b1f;
/* rgb */ color: rgb(38, 107, 31);
/* oklch */ color: oklch(46.7% 0.130 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a965f',
    500: '#266b1f',
    950: '#000000',
  },
}
SCSS
$custom: #266b1f;
$custom-light: #6a965f;
$custom-dark: #000000;
JSON
{
  "hex": "#266b1f",
  "rgb": {
    "r": 38,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 114.474,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.12966,
    "h": 141.8
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#266B1F
secondary
#97479F
accent
#49DED1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #266B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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