#276815#276815

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

Color values

HEX#276815
RGBrgb(39, 104, 21)
HSLhsl(107, 66%, 25%)
HSVhsv(107, 80%, 41%)
CMYKcmyk(62.5%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.53, -36.80, 37.92)
CIE-LCHlch(38.53, 52.84, 134.15°)
OKLaboklab(45.79% -0.1011 0.0851)
OKLCHoklch(45.79% 0.132 139.9)
XYZxyz(5.9221, 10.3856, 2.4019)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276815 #561568
analogous
#516815 #276815 #15682D
triadic
#276815 #152768 #681527
tetradic
#276815 #155168 #561568 #682D15
square
#276815 #155168 #561568 #682D15
split-complementary
#276815 #2D1568 #681551
monochromatic
#0A1905 #14350B #276815 #3A9B1F #4DCE2A

Accessibility & contrast

On white

6.82
#276815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#276815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276815
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276815#FFFFFF#000000##FFFFFF
##2768151.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #276815;
/* rgb */ color: rgb(39, 104, 21);
/* oklch */ color: oklch(45.8% 0.132 139.9);
Tailwind
colors: {
  custom: {
    50: '#6a9459',
    500: '#276815',
    950: '#000000',
  },
}
SCSS
$custom: #276815;
$custom-light: #6a9459;
$custom-dark: #000000;
JSON
{
  "hex": "#276815",
  "rgb": {
    "r": 39,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 106.988,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.13212,
    "h": 139.9
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#276815
secondary
#893A9F
accent
#3EE9C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276815

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

Preview Lab → · Contrast checker → · Palette generator →

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