#276718#276718

#276718 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.129 H 140.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#276718
RGBrgb(39, 103, 24)
HSLhsl(109, 62%, 25%)
HSVhsv(109, 77%, 40%)
CMYKcmyk(62.1%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.19, -36.16, 36.41)
CIE-LCHlch(38.19, 51.32, 134.80°)
OKLaboklab(45.52% -0.0992 0.0824)
OKLCHoklch(45.52% 0.129 140.3)
XYZxyz(5.8516, 10.1973, 2.5239)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276718 #581867
analogous
#4E6718 #276718 #186731
triadic
#276718 #182767 #671827
tetradic
#276718 #184E67 #581867 #673118
square
#276718 #184E67 #581867 #673118
split-complementary
#276718 #311867 #67184E
monochromatic
#091906 #14350C #276718 #3A9924 #4DCA2F

Accessibility & contrast

On white

6.91
#276718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#276718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276718
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276718#FFFFFF#000000##FFFFFF
##2767181.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#1F6358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #276718;
/* rgb */ color: rgb(39, 103, 24);
/* oklch */ color: oklch(45.5% 0.129 140.3);
Tailwind
colors: {
  custom: {
    50: '#6a935a',
    500: '#276718',
    950: '#000000',
  },
}
SCSS
$custom: #276718;
$custom-light: #6a935a;
$custom-dark: #000000;
JSON
{
  "hex": "#276718",
  "rgb": {
    "r": 39,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 108.608,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.12893,
    "h": 140.3
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#276718
secondary
#8B3E9D
accent
#43E5C6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276718

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

Preview Lab → · Contrast checker → · Palette generator →

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