#278331#278331

#278331 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.146 H 144.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#278331
RGBrgb(39, 131, 49)
HSLhsl(127, 54%, 33%)
HSVhsv(127, 70%, 51%)
CMYKcmyk(70.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.11, -44.26, 35.89)
CIE-LCHlch(48.11, 56.98, 140.96°)
OKLaboklab(53.8% -0.1197 0.0843)
OKLCHoklch(53.8% 0.146 144.8)
XYZxyz(9.5068, 16.8847, 5.6632)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278331 #832779
analogous
#4B8327 #278331 #27835F
triadic
#278331 #312783 #833127
tetradic
#278331 #274B83 #832779 #835F27
square
#278331 #274B83 #832779 #835F27
split-complementary
#278331 #5F2783 #83274B
monochromatic
#0B250E #19541F #278331 #35B243 #57CD64

Accessibility & contrast

On white

4.80
#278331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#278331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278331
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278331#FFFFFF#000000##FFFFFF
##2783311.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#088071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #278331;
/* rgb */ color: rgb(39, 131, 49);
/* oklch */ color: oklch(53.8% 0.146 144.8);
Tailwind
colors: {
  custom: {
    50: '#6fa86c',
    500: '#278331',
    950: '#000000',
  },
}
SCSS
$custom: #278331;
$custom-light: #6fa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#278331",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 126.522,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.1464,
    "h": 144.8
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#278331
secondary
#B254A8
accent
#4ACDDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #278331

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

Preview Lab → · Contrast checker → · Palette generator →

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