#278340#278340

#278340 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.133 H 148.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#278340
RGBrgb(39, 131, 64)
HSLhsl(136, 54%, 33%)
HSVhsv(136, 70%, 51%)
CMYKcmyk(70.2%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.30, -42.09, 28.46)
CIE-LCHlch(48.30, 50.80, 145.93°)
OKLaboklab(54.01% -0.1134 0.0691)
OKLCHoklch(54.01% 0.133 148.7)
XYZxyz(9.8777, 17.0330, 7.6166)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278340 #83276A
analogous
#3C8327 #278340 #27836E
triadic
#278340 #402783 #834027
tetradic
#278340 #273C83 #83276A #836E27
square
#278340 #273C83 #83276A #836E27
split-complementary
#278340 #6E2783 #83273C
monochromatic
#0B2512 #195429 #278340 #35B257 #57CD77

Accessibility & contrast

On white

4.77
#278340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#278340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278340
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278340#FFFFFF#000000##FFFFFF
##2783401.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773A
Deuteranopia (green-blind)
#797045
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278340;
/* rgb */ color: rgb(39, 131, 64);
/* oklch */ color: oklch(54.0% 0.133 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ea876',
    500: '#278340',
    950: '#000000',
  },
}
SCSS
$custom: #278340;
$custom-light: #6ea876;
$custom-dark: #000000;
JSON
{
  "hex": "#278340",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 136.304,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.13279,
    "h": 148.7
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#278340
secondary
#B25498
accent
#4AB5DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #278340

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

Preview Lab → · Contrast checker → · Palette generator →

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