#276A17#276A17

#276A17 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.133 H 140.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#276A17
RGBrgb(39, 106, 23)
HSLhsl(108, 64%, 25%)
HSVhsv(108, 78%, 42%)
CMYKcmyk(63.2%, 0%, 78.3%, 58.4%)
CIE-LABlab(39.24, -37.44, 37.87)
CIE-LCHlch(39.24, 53.25, 134.67°)
OKLaboklab(46.39% -0.1026 0.0853)
OKLCHoklch(46.39% 0.133 140.3)
XYZxyz(6.1451, 10.8007, 2.5714)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276A17 #5A176A
analogous
#506A17 #276A17 #176A31
triadic
#276A17 #17276A #6A1727
tetradic
#276A17 #17506A #5A176A #6A3117
square
#276A17 #17506A #5A176A #6A3117
split-complementary
#276A17 #31176A #6A1750
monochromatic
#091905 #14380C #276A17 #3A9C22 #4CCF2D

Accessibility & contrast

On white

6.65
#276A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#276A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276A17
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276A17#FFFFFF#000000##FFFFFF
##276A171.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#1E665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #276a17;
/* rgb */ color: rgb(39, 106, 23);
/* oklch */ color: oklch(46.4% 0.133 140.3);
Tailwind
colors: {
  custom: {
    50: '#6a955a',
    500: '#276a17',
    950: '#000000',
  },
}
SCSS
$custom: #276a17;
$custom-light: #6a955a;
$custom-dark: #000000;
JSON
{
  "hex": "#276a17",
  "rgb": {
    "r": 39,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 108.434,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.13346,
    "h": 140.3
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#276A17
secondary
#8D3DA0
accent
#40E7C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276A17

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

Preview Lab → · Contrast checker → · Palette generator →

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