#276918#276918

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

Color values

HEX#276918
RGBrgb(39, 105, 24)
HSLhsl(109, 63%, 25%)
HSVhsv(109, 77%, 41%)
CMYKcmyk(62.9%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.90, -36.96, 37.13)
CIE-LCHlch(38.90, 52.39, 134.87°)
OKLaboklab(46.1% -0.1013 0.0839)
OKLCHoklch(46.1% 0.132 140.4)
XYZxyz(6.0529, 10.5999, 2.5910)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276918 #5A1869
analogous
#4F6918 #276918 #186931
triadic
#276918 #182769 #691827
tetradic
#276918 #184F69 #5A1869 #693118
square
#276918 #184F69 #5A1869 #693118
split-complementary
#276918 #311869 #69184F
monochromatic
#091906 #14370D #276918 #3A9B23 #4CCD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##276918#FFFFFF#000000##FFFFFF
##2769181.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)
#6C5F09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#1E6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #276918;
/* rgb */ color: rgb(39, 105, 24);
/* oklch */ color: oklch(46.1% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a955b',
    500: '#276918',
    950: '#000000',
  },
}
SCSS
$custom: #276918;
$custom-light: #6a955b;
$custom-dark: #000000;
JSON
{
  "hex": "#276918",
  "rgb": {
    "r": 39,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 108.889,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.13153,
    "h": 140.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#276918
secondary
#8D3E9F
accent
#42E6C7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276918

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

Preview Lab → · Contrast checker → · Palette generator →

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