#276F18#276F18

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

Color values

HEX#276F18
RGBrgb(39, 111, 24)
HSLhsl(110, 64%, 26%)
HSVhsv(110, 78%, 44%)
CMYKcmyk(64.9%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.00, -39.30, 39.23)
CIE-LCHlch(41.00, 55.53, 135.05°)
OKLaboklab(47.84% -0.1076 0.0883)
OKLCHoklch(47.84% 0.139 140.6)
XYZxyz(6.6857, 11.8655, 2.8019)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F18 #60186F
analogous
#536F18 #276F18 #186F35
triadic
#276F18 #18276F #6F1827
tetradic
#276F18 #18536F #60186F #6F3518
square
#276F18 #18536F #60186F #6F3518
split-complementary
#276F18 #35186F #6F1853
monochromatic
#091905 #153D0D #276F18 #39A123 #4BD22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##276F18#FFFFFF#000000##FFFFFF
##276F181.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)
#726406
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1C6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f18;
/* rgb */ color: rgb(39, 111, 24);
/* oklch */ color: oklch(47.8% 0.139 140.6);
Tailwind
colors: {
  custom: {
    50: '#6b995c',
    500: '#276f18',
    950: '#000000',
  },
}
SCSS
$custom: #276f18;
$custom-light: #6b995c;
$custom-dark: #000000;
JSON
{
  "hex": "#276f18",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 109.655,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.1392,
    "h": 140.6
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#276F18
secondary
#933EA5
accent
#40E7CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #276F18

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

Preview Lab → · Contrast checker → · Palette generator →

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