#278427#278427

#278427 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.155 H 143.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#278427
RGBrgb(39, 132, 39)
HSLhsl(120, 54%, 34%)
HSVhsv(120, 70%, 52%)
CMYKcmyk(70.5%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.36, -45.75, 40.72)
CIE-LCHlch(48.36, 61.25, 138.33°)
OKLaboklab(53.97% -0.1242 0.0935)
OKLCHoklch(53.97% 0.155 143)
XYZxyz(9.4536, 17.0793, 4.7175)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278427 #842784
analogous
#558427 #278427 #278455
triadic
#278427 #272784 #842727
tetradic
#278427 #275584 #842784 #845527
square
#278427 #275584 #842784 #845527
split-complementary
#278427 #552784 #842755
monochromatic
#0B260B #195519 #278427 #35B335 #58CE58

Accessibility & contrast

On white

4.76
#278427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#278427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278427
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278427#FFFFFF#000000##FFFFFF
##2784271.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#0D8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278427;
/* rgb */ color: rgb(39, 132, 39);
/* oklch */ color: oklch(54.0% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fa966',
    500: '#278427',
    950: '#000000',
  },
}
SCSS
$custom: #278427;
$custom-light: #6fa966;
$custom-dark: #000000;
JSON
{
  "hex": "#278427",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 120,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.15545,
    "h": 143
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#278427
secondary
#B254B2
accent
#4ADEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278427

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

Preview Lab → · Contrast checker → · Palette generator →

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