#278118#278118

#278118 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.161 H 141.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#278118
RGBrgb(39, 129, 24)
HSLhsl(111, 69%, 30%)
HSVhsv(111, 81%, 51%)
CMYKcmyk(69.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.23, -45.92, 45.28)
CIE-LCHlch(47.23, 64.49, 135.40°)
OKLaboklab(53% -0.1255 0.1009)
OKLCHoklch(53% 0.161 141.2)
XYZxyz(8.8514, 16.1969, 3.5238)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278118 #721881
analogous
#5B8118 #278118 #18813E
triadic
#278118 #182781 #811827
tetradic
#278118 #185B81 #721881 #813E18
square
#278118 #185B81 #721881 #813E18
split-complementary
#278118 #3E1881 #81185B
monochromatic
#081A05 #174D0E #278118 #37B522 #50DA39

Accessibility & contrast

On white

4.95
#278118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#278118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278118
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278118#FFFFFF#000000##FFFFFF
##2781181.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#147D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #278118;
/* rgb */ color: rgb(39, 129, 24);
/* oklch */ color: oklch(53.0% 0.161 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#278118',
    950: '#000000',
  },
}
SCSS
$custom: #278118;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#278118",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 111.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.16101,
    "h": 141.2
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#278118
secondary
#A440B5
accent
#3CEBD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #278118

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

Preview Lab → · Contrast checker → · Palette generator →

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