#276811#276811

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

Color values

HEX#276811
RGBrgb(39, 104, 17)
HSLhsl(105, 72%, 24%)
HSVhsv(105, 84%, 41%)
CMYKcmyk(62.5%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.50, -37.08, 39.32)
CIE-LCHlch(38.50, 54.04, 133.33°)
OKLaboklab(45.76% -0.1021 0.0874)
OKLCHoklch(45.76% 0.134 139.4)
XYZxyz(5.8879, 10.3719, 2.2219)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276811 #521168
analogous
#526811 #276811 #116826
triadic
#276811 #112768 #681127
tetradic
#276811 #115268 #521168 #682611
square
#276811 #115268 #521168 #682611
split-complementary
#276811 #261168 #681152
monochromatic
#0A1A04 #133308 #276811 #3B9D1A #4ED122

Accessibility & contrast

On white

6.83
#276811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#276811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276811
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276811#FFFFFF#000000##FFFFFF
##2768111.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #276811;
/* rgb */ color: rgb(39, 104, 17);
/* oklch */ color: oklch(45.8% 0.134 139.4);
Tailwind
colors: {
  custom: {
    50: '#6a9457',
    500: '#276811',
    950: '#000000',
  },
}
SCSS
$custom: #276811;
$custom-light: #6a9457;
$custom-dark: #000000;
JSON
{
  "hex": "#276811",
  "rgb": {
    "r": 39,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 104.828,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.13436,
    "h": 139.4
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#276811
secondary
#8535A0
accent
#39EFC1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #276811

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

Preview Lab → · Contrast checker → · Palette generator →

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