#278221#278221

#278221 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.157 H 142.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#278221
RGBrgb(39, 130, 33)
HSLhsl(116, 60%, 32%)
HSVhsv(116, 75%, 51%)
CMYKcmyk(70%, 0%, 74.6%, 49%)
CIE-LABlab(47.63, -45.59, 42.43)
CIE-LCHlch(47.63, 62.28, 137.06°)
OKLaboklab(53.35% -0.1241 0.0963)
OKLCHoklch(53.35% 0.157 142.2)
XYZxyz(9.0933, 16.5054, 4.1452)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278221 #7C2182
analogous
#588221 #278221 #21824C
triadic
#278221 #212782 #822127
tetradic
#278221 #215882 #7C2182 #824C21
square
#278221 #215882 #7C2182 #824C21
split-complementary
#278221 #4C2182 #822158
monochromatic
#0A2008 #185115 #278221 #36B32D #54D24C

Accessibility & contrast

On white

4.88
#278221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#278221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278221
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278221#FFFFFF#000000##FFFFFF
##2782211.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#117E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278221;
/* rgb */ color: rgb(39, 130, 33);
/* oklch */ color: oklch(53.4% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa763',
    500: '#278221',
    950: '#000000',
  },
}
SCSS
$custom: #278221;
$custom-light: #6fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#278221",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 116.289,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.15706,
    "h": 142.2
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#278221
secondary
#AE4AB4
accent
#45E3D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #278221

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

Preview Lab → · Contrast checker → · Palette generator →

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