#266F1B#266F1B

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

Color values

HEX#266F1B
RGBrgb(38, 111, 27)
HSLhsl(112, 61%, 27%)
HSVhsv(112, 76%, 44%)
CMYKcmyk(65.8%, 0%, 75.7%, 56.5%)
CIE-LABlab(40.99, -39.30, 38.03)
CIE-LCHlch(40.99, 54.69, 135.94°)
OKLaboklab(47.83% -0.1074 0.0862)
OKLCHoklch(47.83% 0.138 141.2)
XYZxyz(6.6813, 11.8594, 2.9737)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F1B #641B6F
analogous
#506F1B #266F1B #1B6F3A
triadic
#266F1B #1B266F #6F1B26
tetradic
#266F1B #1B506F #641B6F #6F3A1B
square
#266F1B #1B506F #641B6F #6F3A1B
split-complementary
#266F1B #3A1B6F #6F1B50
monochromatic
#081906 #153E0F #266F1B #37A027 #4ACE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##266F1B#FFFFFF#000000##FFFFFF
##266F1B1.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)
#72640C
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#1A6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f1b;
/* rgb */ color: rgb(38, 111, 27);
/* oklch */ color: oklch(47.8% 0.138 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b995d',
    500: '#266f1b',
    950: '#000000',
  },
}
SCSS
$custom: #266f1b;
$custom-light: #6b995d;
$custom-dark: #000000;
JSON
{
  "hex": "#266f1b",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 112.143,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.13772,
    "h": 141.2
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#266F1B
secondary
#9742A4
accent
#44E4CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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