#266B22#266B22

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

Color values

HEX#266B22
RGBrgb(38, 107, 34)
HSLhsl(117, 52%, 28%)
HSVhsv(117, 68%, 42%)
CMYKcmyk(64.5%, 0%, 68.2%, 58%)
CIE-LABlab(39.65, -37.04, 33.53)
CIE-LCHlch(39.65, 49.97, 137.85°)
OKLaboklab(46.74% -0.1008 0.0777)
OKLCHoklch(46.74% 0.127 142.4)
XYZxyz(6.3454, 11.0424, 3.3101)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266B22 #67226B
analogous
#4B6B22 #266B22 #226B42
triadic
#266B22 #22266B #6B2226
tetradic
#266B22 #224B6B #67226B #6B4222
square
#266B22 #224B6B #67226B #6B4222
split-complementary
#266B22 #42226B #6B224B
monochromatic
#081707 #163D13 #266B22 #369931 #4BC444

Accessibility & contrast

On white

6.54
#266B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #266B22
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266B22#FFFFFF#000000##FFFFFF
##266B221.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #266b22;
/* rgb */ color: rgb(38, 107, 34);
/* oklch */ color: oklch(46.7% 0.127 142.4);
Tailwind
colors: {
  custom: {
    50: '#699661',
    500: '#266b22',
    950: '#000000',
  },
}
SCSS
$custom: #266b22;
$custom-light: #699661;
$custom-dark: #000000;
JSON
{
  "hex": "#266b22",
  "rgb": {
    "r": 38,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 116.712,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.1273,
    "h": 142.4
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#266B22
secondary
#9A4A9F
accent
#4DDBD3
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #266B22

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

Preview Lab → · Contrast checker → · Palette generator →

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