#278240#278240

#278240 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.131 H 148.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#278240
RGBrgb(39, 130, 64)
HSLhsl(136, 54%, 33%)
HSVhsv(136, 70%, 51%)
CMYKcmyk(70%, 0%, 50.8%, 49%)
CIE-LABlab(47.96, -41.69, 28.04)
CIE-LCHlch(47.96, 50.24, 146.08°)
OKLaboklab(53.74% -0.1124 0.0681)
OKLCHoklch(53.74% 0.131 148.8)
XYZxyz(9.7440, 16.7657, 7.5721)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278240 #822769
analogous
#3B8227 #278240 #27826D
triadic
#278240 #402782 #824027
tetradic
#278240 #273B82 #822769 #826D27
square
#278240 #273B82 #822769 #826D27
split-complementary
#278240 #6D2782 #82273B
monochromatic
#0B2412 #195329 #278240 #35B157 #57CD77

Accessibility & contrast

On white

4.82
#278240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#278240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278240
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278240#FFFFFF#000000##FFFFFF
##2782401.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #278240;
/* rgb */ color: rgb(39, 130, 64);
/* oklch */ color: oklch(53.7% 0.131 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ea776',
    500: '#278240',
    950: '#000000',
  },
}
SCSS
$custom: #278240;
$custom-light: #6ea776;
$custom-dark: #000000;
JSON
{
  "hex": "#278240",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 136.484,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.1314,
    "h": 148.8
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#278240
secondary
#B15398
accent
#4BB5DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #278240

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

Preview Lab → · Contrast checker → · Palette generator →

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