#278722#278722

#278722 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.162 H 142.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#278722
RGBrgb(39, 135, 34)
HSLhsl(117, 60%, 33%)
HSVhsv(117, 75%, 53%)
CMYKcmyk(71.1%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.34, -47.28, 43.78)
CIE-LCHlch(49.34, 64.44, 137.20°)
OKLaboklab(54.77% -0.1286 0.0992)
OKLCHoklch(54.77% 0.162 142.4)
XYZxyz(9.7888, 17.8737, 4.4472)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278722 #822287
analogous
#598722 #278722 #22874F
triadic
#278722 #222787 #872227
tetradic
#278722 #225987 #822287 #874F22
square
#278722 #225987 #822287 #874F22
split-complementary
#278722 #4F2287 #872259
monochromatic
#0B2509 #195616 #278722 #35B82E #57D350

Accessibility & contrast

On white

4.59
#278722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#278722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #278722
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278722#FFFFFF#000000##FFFFFF
##2787221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#0D8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278722;
/* rgb */ color: rgb(39, 135, 34);
/* oklch */ color: oklch(54.8% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#70ab64',
    500: '#278722',
    950: '#000000',
  },
}
SCSS
$custom: #278722;
$custom-light: #70ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#278722",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 117.03,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.16245,
    "h": 142.4
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#278722
secondary
#B14EB7
accent
#45E3DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278722

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

Preview Lab → · Contrast checker → · Palette generator →

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