#276240#276240

#276240 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.084 H 155.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#276240
RGBrgb(39, 98, 64)
HSLhsl(145, 43%, 27%)
HSVhsv(145, 60%, 38%)
CMYKcmyk(60.2%, 0%, 34.7%, 61.6%)
CIE-LABlab(37.00, -27.93, 13.74)
CIE-LCHlch(37.00, 31.13, 153.80°)
OKLaboklab(44.72% -0.076 0.0347)
OKLCHoklch(44.72% 0.084 155.5)
XYZxyz(6.1293, 9.5363, 6.3672)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276240 #622749
analogous
#2B6227 #276240 #27625E
triadic
#276240 #402762 #624027
tetradic
#276240 #272B62 #622749 #625E27
square
#276240 #272B62 #622749 #625E27
split-complementary
#276240 #5E2762 #62272B
monochromatic
#09160E #163623 #276240 #388E5D #4CB879

Accessibility & contrast

On white

7.22
#276240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#276240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276240
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276240#FFFFFF#000000##FFFFFF
##2762401.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#595542
Tritanopia (blue-blind)
#146159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #276240;
/* rgb */ color: rgb(39, 98, 64);
/* oklch */ color: oklch(44.7% 0.084 155.5);
Tailwind
colors: {
  custom: {
    50: '#678f75',
    500: '#276240',
    950: '#000000',
  },
}
SCSS
$custom: #276240;
$custom-light: #678f75;
$custom-dark: #000000;
JSON
{
  "hex": "#276240",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 64
  },
  "hsl": {
    "h": 145.424,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.08357,
    "h": 155.5
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#276240
secondary
#955078
accent
#559DD3
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #276240

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

Preview Lab → · Contrast checker → · Palette generator →

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