#276F17#276F17

#276F17 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.140 H 140.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#276F17
RGBrgb(39, 111, 23)
HSLhsl(109, 66%, 26%)
HSVhsv(109, 79%, 44%)
CMYKcmyk(64.9%, 0%, 79.3%, 56.5%)
CIE-LABlab(40.99, -39.37, 39.60)
CIE-LCHlch(40.99, 55.84, 134.84°)
OKLaboklab(47.84% -0.1079 0.0889)
OKLCHoklch(47.84% 0.14 140.5)
XYZxyz(6.6755, 11.8614, 2.7481)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F17 #5F176F
analogous
#536F17 #276F17 #176F33
triadic
#276F17 #17276F #6F1727
tetradic
#276F17 #17536F #5F176F #6F3317
square
#276F17 #17536F #5F176F #6F3317
split-complementary
#276F17 #33176F #6F1753
monochromatic
#091905 #153C0C #276F17 #39A222 #4BD32D

Accessibility & contrast

On white

6.23
#276F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#276F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276F17
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276F17#FFFFFF#000000##FFFFFF
##276F171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1C6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f17;
/* rgb */ color: rgb(39, 111, 23);
/* oklch */ color: oklch(47.8% 0.140 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b995b',
    500: '#276f17',
    950: '#000000',
  },
}
SCSS
$custom: #276f17;
$custom-light: #6b995b;
$custom-dark: #000000;
JSON
{
  "hex": "#276f17",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 109.091,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.1398,
    "h": 140.5
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#276F17
secondary
#923DA5
accent
#3FE9CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #276F17

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

Preview Lab → · Contrast checker → · Palette generator →

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