#276E28#276E28

#276E28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.126 H 143.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#276E28
RGBrgb(39, 110, 40)
HSLhsl(121, 48%, 29%)
HSVhsv(121, 65%, 43%)
CMYKcmyk(64.5%, 0%, 63.6%, 56.9%)
CIE-LABlab(40.79, -37.28, 31.91)
CIE-LCHlch(40.79, 49.07, 139.44°)
OKLaboklab(47.72% -0.1012 0.0749)
OKLCHoklch(47.72% 0.126 143.5)
XYZxyz(6.7952, 11.7357, 3.9142)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276E28 #6E276D
analogous
#4A6E27 #276E28 #276E4C
triadic
#276E28 #28276E #6E2827
tetradic
#276E28 #274A6E #6E276D #6E4C27
square
#276E28 #274A6E #6E276D #6E4C27
split-complementary
#276E28 #4C276E #6E274A
monochromatic
#081708 #174118 #276E28 #379B38 #4FC150

Accessibility & contrast

On white

6.27
#276E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#276E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276E28
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276E28#FFFFFF#000000##FFFFFF
##276E281.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#675E2E
Tritanopia (blue-blind)
#196B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #276e28;
/* rgb */ color: rgb(39, 110, 40);
/* oklch */ color: oklch(47.7% 0.126 143.5);
Tailwind
colors: {
  custom: {
    50: '#6a9865',
    500: '#276e28',
    950: '#000000',
  },
}
SCSS
$custom: #276e28;
$custom-light: #6a9865;
$custom-dark: #000000;
JSON
{
  "hex": "#276e28",
  "rgb": {
    "r": 39,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 120.845,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.1259,
    "h": 143.5
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#276E28
secondary
#A1509F
accent
#51D5D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #276E28

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

Preview Lab → · Contrast checker → · Palette generator →

#276E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva