#278724#278724

#278724 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.161 H 142.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#278724
RGBrgb(39, 135, 36)
HSLhsl(118, 58%, 34%)
HSVhsv(118, 73%, 53%)
CMYKcmyk(71.1%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.36, -47.11, 43.01)
CIE-LCHlch(49.36, 63.79, 137.60°)
OKLaboklab(54.79% -0.128 0.0979)
OKLCHoklch(54.79% 0.161 142.6)
XYZxyz(9.8185, 17.8856, 4.6035)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278724 #842487
analogous
#588724 #278724 #248752
triadic
#278724 #242787 #872427
tetradic
#278724 #245887 #842487 #875224
square
#278724 #245887 #842487 #875224
split-complementary
#278724 #522487 #872458
monochromatic
#0B260A #195717 #278724 #35B731 #58D154

Accessibility & contrast

On white

4.59
#278724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#278724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #278724
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278724#FFFFFF#000000##FFFFFF
##2787241.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#0C8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278724;
/* rgb */ color: rgb(39, 135, 36);
/* oklch */ color: oklch(54.8% 0.161 142.6);
Tailwind
colors: {
  custom: {
    50: '#70ab65',
    500: '#278724',
    950: '#000000',
  },
}
SCSS
$custom: #278724;
$custom-light: #70ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#278724",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 118.182,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.16117,
    "h": 142.6
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#278724
secondary
#B251B5
accent
#47E1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278724

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

Preview Lab → · Contrast checker → · Palette generator →

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