#277318#277318

#277318 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.144 H 140.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#277318
RGBrgb(39, 115, 24)
HSLhsl(110, 65%, 27%)
HSVhsv(110, 79%, 45%)
CMYKcmyk(66.1%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.40, -40.82, 40.61)
CIE-LCHlch(42.40, 57.58, 135.15°)
OKLaboklab(49% -0.1117 0.0912)
OKLCHoklch(49% 0.144 140.8)
XYZxyz(7.1320, 12.7581, 2.9507)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277318 #641873
analogous
#557318 #277318 #187337
triadic
#277318 #182773 #731827
tetradic
#277318 #185573 #641873 #733718
square
#277318 #185573 #641873 #733718
split-complementary
#277318 #371873 #731855
monochromatic
#091905 #16400D #277318 #38A623 #4CD431

Accessibility & contrast

On white

5.91
#277318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#277318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277318
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277318#FFFFFF#000000##FFFFFF
##2773181.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#1B6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #277318;
/* rgb */ color: rgb(39, 115, 24);
/* oklch */ color: oklch(49.0% 0.144 140.8);
Tailwind
colors: {
  custom: {
    50: '#6c9c5c',
    500: '#277318',
    950: '#000000',
  },
}
SCSS
$custom: #277318;
$custom-light: #6c9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#277318",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 110.11,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.14418,
    "h": 140.8
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#277318
secondary
#973FA8
accent
#3FE8CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277318

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

Preview Lab → · Contrast checker → · Palette generator →

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