#278018#278018

#278018 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.160 H 141.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#278018
RGBrgb(39, 128, 24)
HSLhsl(111, 68%, 30%)
HSVhsv(111, 81%, 50%)
CMYKcmyk(69.5%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.89, -45.56, 44.96)
CIE-LCHlch(46.89, 64.01, 135.38°)
OKLaboklab(52.72% -0.1245 0.1002)
OKLCHoklch(52.72% 0.16 141.2)
XYZxyz(8.7203, 15.9347, 3.4801)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278018 #711880
analogous
#5B8018 #278018 #18803D
triadic
#278018 #182780 #801827
tetradic
#278018 #185B80 #711880 #803D18
square
#278018 #185B80 #711880 #803D18
split-complementary
#278018 #3D1880 #80185B
monochromatic
#081A05 #174C0E #278018 #37B422 #50DA39

Accessibility & contrast

On white

5.02
#278018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#278018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278018
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278018#FFFFFF#000000##FFFFFF
##2780181.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#157C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #278018;
/* rgb */ color: rgb(39, 128, 24);
/* oklch */ color: oklch(52.7% 0.160 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#278018',
    950: '#000000',
  },
}
SCSS
$custom: #278018;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#278018",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 111.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.15984,
    "h": 141.2
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#278018
secondary
#A340B4
accent
#3DEBD2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #278018

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

Preview Lab → · Contrast checker → · Palette generator →

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