#278222#278222

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

Color values

HEX#278222
RGBrgb(39, 130, 34)
HSLhsl(117, 59%, 32%)
HSVhsv(117, 74%, 51%)
CMYKcmyk(70%, 0%, 73.8%, 49%)
CIE-LABlab(47.64, -45.50, 42.04)
CIE-LCHlch(47.64, 61.95, 137.27°)
OKLaboklab(53.36% -0.1238 0.0956)
OKLCHoklch(53.36% 0.156 142.3)
XYZxyz(9.1075, 16.5111, 4.2201)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278222 #7D2282
analogous
#578222 #278222 #22824D
triadic
#278222 #222782 #822227
tetradic
#278222 #225782 #7D2282 #824D22
square
#278222 #225782 #7D2282 #824D22
split-complementary
#278222 #4D2282 #822257
monochromatic
#0A2109 #185115 #278222 #36B32F #55D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278222#FFFFFF#000000##FFFFFF
##2782221.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)
#857512
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#117E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278222;
/* rgb */ color: rgb(39, 130, 34);
/* oklch */ color: oklch(53.4% 0.156 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa763',
    500: '#278222',
    950: '#000000',
  },
}
SCSS
$custom: #278222;
$custom-light: #6fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#278222",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 116.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.15641,
    "h": 142.3
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#278222
secondary
#AF4CB4
accent
#46E2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278222

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

Preview Lab → · Contrast checker → · Palette generator →

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