#266A28#266A28

#266A28 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.121 H 143.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#266A28
RGBrgb(38, 106, 40)
HSLhsl(122, 47%, 28%)
HSVhsv(122, 64%, 42%)
CMYKcmyk(64.2%, 0%, 62.3%, 58.4%)
CIE-LABlab(39.37, -35.91, 30.26)
CIE-LCHlch(39.37, 46.96, 139.88°)
OKLaboklab(46.53% -0.0974 0.0713)
OKLCHoklch(46.53% 0.121 143.8)
XYZxyz(6.3360, 10.8727, 3.7718)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A28 #6A2668
analogous
#466A26 #266A28 #266A4A
triadic
#266A28 #28266A #6A2826
tetradic
#266A28 #26466A #6A2668 #6A4A26
square
#266A28 #26466A #6A2668 #6A4A26
split-complementary
#266A28 #4A266A #6A2646
monochromatic
#081709 #163D17 #266A28 #369739 #4CBF4F

Accessibility & contrast

On white

6.62
#266A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#266A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266A28
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266A28#FFFFFF#000000##FFFFFF
##266A281.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#645A2D
Tritanopia (blue-blind)
#19675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #266a28;
/* rgb */ color: rgb(38, 106, 40);
/* oklch */ color: oklch(46.5% 0.121 143.8);
Tailwind
colors: {
  custom: {
    50: '#699564',
    500: '#266a28',
    950: '#000000',
  },
}
SCSS
$custom: #266a28;
$custom-light: #699564;
$custom-dark: #000000;
JSON
{
  "hex": "#266a28",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 121.765,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.12077,
    "h": 143.8
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #266A28

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

Preview Lab → · Contrast checker → · Palette generator →

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