#276816#276816

#276816 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.132 H 140.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#276816
RGBrgb(39, 104, 22)
HSLhsl(108, 65%, 25%)
HSVhsv(108, 79%, 41%)
CMYKcmyk(62.5%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.53, -36.73, 37.55)
CIE-LCHlch(38.53, 52.52, 134.37°)
OKLaboklab(45.8% -0.1008 0.0845)
OKLCHoklch(45.8% 0.132 140)
XYZxyz(5.9316, 10.3894, 2.4517)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276816 #571668
analogous
#506816 #276816 #16682E
triadic
#276816 #162768 #681627
tetradic
#276816 #165068 #571668 #682E16
square
#276816 #165068 #571668 #682E16
split-complementary
#276816 #2E1668 #681650
monochromatic
#091905 #14350B #276816 #3A9B21 #4DCD2B

Accessibility & contrast

On white

6.82
#276816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#276816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276816
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276816#FFFFFF#000000##FFFFFF
##2768161.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #276816;
/* rgb */ color: rgb(39, 104, 22);
/* oklch */ color: oklch(45.8% 0.132 140.0);
Tailwind
colors: {
  custom: {
    50: '#6a945a',
    500: '#276816',
    950: '#000000',
  },
}
SCSS
$custom: #276816;
$custom-light: #6a945a;
$custom-dark: #000000;
JSON
{
  "hex": "#276816",
  "rgb": {
    "r": 39,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 107.561,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.13151,
    "h": 140
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#276816
secondary
#8A3B9F
accent
#40E8C5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276816

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

Preview Lab → · Contrast checker → · Palette generator →

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