#266B28#266B28

#266B28 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.122 H 143.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#266B28
RGBrgb(38, 107, 40)
HSLhsl(122, 48%, 28%)
HSVhsv(122, 64%, 42%)
CMYKcmyk(64.5%, 0%, 62.6%, 58%)
CIE-LABlab(39.71, -36.32, 30.66)
CIE-LCHlch(39.71, 47.53, 139.82°)
OKLaboklab(46.82% -0.0985 0.0722)
OKLCHoklch(46.82% 0.122 143.8)
XYZxyz(6.4397, 11.0800, 3.8064)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266B28 #6B2669
analogous
#466B26 #266B28 #266B4A
triadic
#266B28 #28266B #6B2826
tetradic
#266B28 #26466B #6B2669 #6B4A26
square
#266B28 #26466B #6B2669 #6B4A26
split-complementary
#266B28 #4A266B #6B2646
monochromatic
#081708 #163E17 #266B28 #369839 #4CBF4F

Accessibility & contrast

On white

6.53
#266B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#266B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266B28
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266B28#FFFFFF#000000##FFFFFF
##266B281.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#18685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #266b28;
/* rgb */ color: rgb(38, 107, 40);
/* oklch */ color: oklch(46.8% 0.122 143.8);
Tailwind
colors: {
  custom: {
    50: '#699664',
    500: '#266b28',
    950: '#000000',
  },
}
SCSS
$custom: #266b28;
$custom-light: #699664;
$custom-dark: #000000;
JSON
{
  "hex": "#266b28",
  "rgb": {
    "r": 38,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 121.739,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.12217,
    "h": 143.8
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#266B28
secondary
#9E4F9C
accent
#51D3D7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #266B28

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

Preview Lab → · Contrast checker → · Palette generator →

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