#278148#278148

#278148 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.122 H 151.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#278148
RGBrgb(39, 129, 72)
HSLhsl(142, 54%, 33%)
HSVhsv(142, 70%, 51%)
CMYKcmyk(69.8%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.75, -39.88, 23.40)
CIE-LCHlch(47.75, 46.24, 149.60°)
OKLaboklab(53.6% -0.1076 0.0578)
OKLCHoklch(53.6% 0.122 151.7)
XYZxyz(9.8558, 16.5987, 8.8141)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278148 #812760
analogous
#338127 #278148 #278175
triadic
#278148 #482781 #814827
tetradic
#278148 #273381 #812760 #817527
square
#278148 #273381 #812760 #817527
split-complementary
#278148 #752781 #812733
monochromatic
#0B2314 #19522E #278148 #35B062 #56CC82

Accessibility & contrast

On white

4.86
#278148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#278148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278148
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278148#FFFFFF#000000##FFFFFF
##2781481.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278148;
/* rgb */ color: rgb(39, 129, 72);
/* oklch */ color: oklch(53.6% 0.122 151.7);
Tailwind
colors: {
  custom: {
    50: '#6da67c',
    500: '#278148',
    950: '#000000',
  },
}
SCSS
$custom: #278148;
$custom-light: #6da67c;
$custom-dark: #000000;
JSON
{
  "hex": "#278148",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 142,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.536,
    "c": 0.12211,
    "h": 151.7
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#278148
secondary
#B1538E
accent
#4BA7DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #278148

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

Preview Lab → · Contrast checker → · Palette generator →

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