#276221#276221

#276221 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.115 H 141.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#276221
RGBrgb(39, 98, 33)
HSLhsl(114, 50%, 26%)
HSVhsv(114, 66%, 38%)
CMYKcmyk(60.2%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.51, -33.19, 30.53)
CIE-LCHlch(36.51, 45.10, 137.39°)
OKLaboklab(44.16% -0.0905 0.0712)
OKLCHoklch(44.16% 0.115 141.8)
XYZxyz(5.4786, 9.2760, 2.9403)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276221 #5C2162
analogous
#476221 #276221 #21623B
triadic
#276221 #212762 #622127
tetradic
#276221 #214762 #5C2162 #623B21
square
#276221 #214762 #5C2162 #623B21
split-complementary
#276221 #3B2162 #622147
monochromatic
#091708 #153412 #276221 #399030 #4BBE40

Accessibility & contrast

On white

7.35
#276221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#276221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276221
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276221#FFFFFF#000000##FFFFFF
##2762211.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#1F5F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #276221;
/* rgb */ color: rgb(39, 98, 33);
/* oklch */ color: oklch(44.2% 0.115 141.8);
Tailwind
colors: {
  custom: {
    50: '#688f5f',
    500: '#276221',
    950: '#000000',
  },
}
SCSS
$custom: #276221;
$custom-light: #688f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#276221",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 114.462,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.11518,
    "h": 141.8
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#276221
secondary
#8F4996
accent
#4FD9CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #276221

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

Preview Lab → · Contrast checker → · Palette generator →

#276221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva