#276917#276917

#276917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#276917
RGBrgb(39, 105, 23)
HSLhsl(108, 64%, 25%)
HSVhsv(108, 78%, 41%)
CMYKcmyk(62.9%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.89, -37.04, 37.51)
CIE-LCHlch(38.89, 52.72, 134.64°)
OKLaboklab(46.1% -0.1016 0.0846)
OKLCHoklch(46.1% 0.132 140.2)
XYZxyz(6.0427, 10.5958, 2.5372)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276917 #591769
analogous
#506917 #276917 #176930
triadic
#276917 #172769 #691727
tetradic
#276917 #175069 #591769 #693017
square
#276917 #175069 #591769 #693017
split-complementary
#276917 #301769 #691750
monochromatic
#091905 #14370C #276917 #3A9B22 #4CCD2D

Accessibility & contrast

On white

6.73
#276917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#276917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276917
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276917#FFFFFF#000000##FFFFFF
##2769171.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#1E6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #276917;
/* rgb */ color: rgb(39, 105, 23);
/* oklch */ color: oklch(46.1% 0.132 140.2);
Tailwind
colors: {
  custom: {
    50: '#6a955a',
    500: '#276917',
    950: '#000000',
  },
}
SCSS
$custom: #276917;
$custom-light: #6a955a;
$custom-dark: #000000;
JSON
{
  "hex": "#276917",
  "rgb": {
    "r": 39,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 108.293,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.13217,
    "h": 140.2
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#276917
secondary
#8C3D9F
accent
#41E7C7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276917

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

Preview Lab → · Contrast checker → · Palette generator →

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