#278E17#278E17

#278E17 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.176 H 141.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#278E17
RGBrgb(39, 142, 23)
HSLhsl(112, 72%, 32%)
HSVhsv(112, 84%, 56%)
CMYKcmyk(72.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.65, -50.46, 49.73)
CIE-LCHlch(51.65, 70.84, 135.41°)
OKLaboklab(56.67% -0.1377 0.1101)
OKLCHoklch(56.67% 0.176 141.4)
XYZxyz(10.6638, 19.8380, 4.0776)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E17 #7E178E
analogous
#628E17 #278E17 #178E43
triadic
#278E17 #17278E #8E1727
tetradic
#278E17 #17628E #7E178E #8E4317
square
#278E17 #17628E #7E178E #8E4317
split-complementary
#278E17 #43178E #8E1762
monochromatic
#0A2506 #19590E #278E17 #35C320 #55E03F

Accessibility & contrast

On white

4.23
#278E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#278E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E17#FFFFFF#000000##000000
##278E171.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#0A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e17;
/* rgb */ color: rgb(39, 142, 23);
/* oklch */ color: oklch(56.7% 0.176 141.4);
Tailwind
colors: {
  custom: {
    50: '#72b060',
    500: '#278e17',
    950: '#000000',
  },
}
SCSS
$custom: #278e17;
$custom-light: #72b060;
$custom-dark: #000000;
JSON
{
  "hex": "#278e17",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 111.933,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.17632,
    "h": 141.4
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#278E17
secondary
#AF40C0
accent
#39EFD6
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #278E17

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

Preview Lab → · Contrast checker → · Palette generator →

#278E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva